Free · open-source · yours

Run your own GuildLabs bot

GuildLabs bots run on your machine, not ours — so there are no bills and your community's data never leaves your computer. Download it and you're going in about ten minutes.

~50 KB · needs Node.js 20+ · macOS, Windows, or Linux

1

Download & unzip

Grab the bundle above, then open a terminal in the folder you unzipped it to.

cd guildlabs-bot
npm install
2

Create your Discord bot

Every bot needs its own Discord identity. In the Discord Developer Portal :

  • New Application → name it.
  • Bot → enable Server Members and Message Content intents.
  • Copy the Bot Token (keep it secret) and, under OAuth2 → General, the Client ID.
3

Add your token

Copy the example config, then paste your token and client ID into the new .env file.

cp .env.example .env
DISCORD_TOKEN=your_bot_token
CLIENT_ID=your_client_id
4

Start it

Register the slash commands once, then run the bot. When you see online as …, it's live in Discord — for as long as this terminal stays open.

npm run deploy
npm start
5

Invite it & build a server

Invite your bot with Administrator permission (it needs that to create roles and channels) — swap in your Client ID:

https://discord.com/oauth2/authorize?client_id=CLIENT_ID&permissions=8&scope=bot+applications.commands

Then design a server in the builder, click Deploy to Discord, and run /deploy with the code in your server — your bot builds everything in one pass.

Want always-on hosting (so it runs when your computer's off)? The bundle includes Docker, Fly, and Railway config — drop it on any host that runs Node. It's your bot, run it wherever you like.