Discord Bot Maker
Build your own Discord bot in a few minutes. Tick the features you want, type your own messages, and download a complete, ready-to-run bot with step-by-step setup instructions. No coding needed.
Choose features
Your files
Your invite link
🔒 We never ask for your bot token. You add it to a file on your own computer. Everything on this page runs in your browser.
🔒 Everything you type stays in your browser. Nothing is sent to a server.
By Shah Rukh, software developer · Last updated:
How to set up your bot (5 steps)
- Design it. Tick the features above, change the messages, then press Download ZIP and unzip the folder.
- Create the bot in Discord. Open the Discord Developer Portal, click New Application, then open the Bot tab. Press Reset Token and copy the token. If you use welcome messages or auto-role, turn on Server Members Intent; for the chat filter, turn on Message Content Intent.
- Add your token. In the folder, rename
.env.exampleto.env, open it in Notepad, and paste your token afterDISCORD_TOKEN=. - Invite the bot. Paste your Application ID in the box above to get your invite link. Open it, pick your server and click Authorize. Then drag the bot’s role above the roles it should manage in Server Settings → Roles.
- Run it. Install Python 3.10+ (tick “Add Python to PATH” on Windows), then double-click
start.baton Windows, or runsh start.shon Mac or Linux. When you see “Logged in as…”, type/in your server to use the commands.
The same steps are in the README.md file inside your download.
What your bot can do
| Feature | What it does |
|---|---|
| Welcome & goodbye | Posts your message when someone joins or leaves, with their name and the member count. |
| Auto-role | Gives every new member a role such as “Member”. |
| Role buttons | Members click a button to add or remove a role themselves. |
| Moderation | /kick, /ban, /timeout, /clear, /warn, with an optional log channel. Only members with the right permissions can use them. |
| Chat filter | Deletes messages with words you block, and optionally Discord invite links. |
| Custom commands | Your own slash commands, like /rules or /socials. |
| Fun & utility | Polls, dice, coin flip, reminders, server and user info. |
| Server setup | One command creates all your categories, channels and roles. |
The bot is written in Python with discord.py, the most popular Discord library, and uses modern slash commands. The code is yours: read it, edit it, and learn from it. Your messages and commands live in config.json, so you can change them later without touching the code.
Keeping your bot online
A Discord bot is a program, and it’s only online while that program is running. This site writes the code for you; it doesn’t run the bot. You have three options:
- Your own computer: free and fine for testing, but the bot goes offline when you close the window or shut down.
- A spare PC or Raspberry Pi: a low-cost way to stay online all the time at home.
- A cloud server (VPS): the usual choice for always-on bots. Upload the folder, set
DISCORD_TOKENas an environment variable and startpython bot.py.
Keep your token secret
Your bot token is like a password: anyone who has it can control your bot. That’s why this tool never asks for it. Don’t post it in chats, screenshots or GitHub. If it ever leaks, press Reset Token in the Developer Portal and update your .env file.
ToolsCloset is not affiliated with or endorsed by Discord. Use your bot in line with Discord’s Terms of Service and Developer Policy: no spam, no unsolicited mass DMs.
Only need the channels and roles? Use the Discord server template generator. New to bots? Read how to make a Discord bot.
Frequently asked questions
Is this Discord bot maker really free?
Yes. You download the full code and it’s yours to keep. There are no limits, watermarks or sign-ups.
Do I need to know how to code?
No. You pick features and type your messages; the code is written for you. You only copy a token into one file and run it.
Does this site host my bot?
No. It creates the bot’s code. You run it on your own computer or a server, which also means nobody else controls your bot.
Why don’t my slash commands show up?
New global commands can take up to an hour to appear. Put your server ID in the .env file as GUILD_ID for instant updates, and make sure you invited the bot with the link above.
Related tools
QR Code Generator
Free QR codes for links, Wi-Fi, text and contacts.
Discord Server Template
Design channels and roles, then build them in one click.
Discord Moderation Bot
Make your own mod bot with kick, ban, mute and filters.
Discord Welcome Bot
Custom welcome messages and auto-roles for new members.
Color Picker & Palette
HEX, RGB and HSL codes plus matching palettes.
Contrast Checker
Check WCAG AA/AAA colour contrast for text.