Set up your own bot (Pro)
Run Gildi in your server under your own bot’s name and avatar. Create the bot, paste its token, turn on two intents, invite it and switch over.
On Pro, your server can run on a bot of your own: your bot’s name and avatar on every message, welcome and command. It takes about five minutes. Open Custom bot in the dashboard and follow the five steps. You need Manage Server.
Keep your token secret. Anyone with your bot’s token can control your bot. Never share it with anyone, never post it in Discord, and never paste it into any other site. Gildi’s dashboard is the only place it goes. Gildi encrypts it and never shows it again.
The steps
- Create a bot. In the Discord Developer Portal, make a new application and add a bot to it. Give it the name and avatar you want members to see.
- Paste its token. Copy the token from the Bot tab and paste it into Gildi. You must own the application, or the team it belongs to.
- Turn on two intents. On the same Bot tab, turn on the Server Members Intent and the Message Content Intent. Welcome messages and audit logs need them. Then click Check again.
- Invite it to your server. Gildi prepares the invite with the same permissions it asks for itself. Come back and check again once it has joined.
- Switch over. Turn on Use my own bot.
What happens when you switch over
- Your bot takes over every module, flow and slash command in the server.
- Gildi’s own commands are removed from the server, and your bot registers the same ones.
- Gildi stays in the server but keeps quiet, so switching back is instant.
- You set your bot’s status and up to 5 activities in the dashboard. Several activities take turns every 10 minutes. Its name and avatar come from the Developer Portal.
One bot runs one server. To use your own bot in another server, make another bot.
Error messages and fixes
| You see | Fix |
|---|---|
| That doesn’t look like a bot token. It has three parts separated by dots. | Copy the whole token from the Bot tab. |
| Discord doesn’t accept that token. Copy it again from the Bot tab (Reset Token makes a new one). | The token is old or mistyped. Reset it in the Developer Portal and paste the new one. |
| You don’t own [your app] in the Developer Portal (or its team). Ask its owner to set it up. | The person who owns the application, or its team, has to paste the token. |
| That’s Gildi’s own token. Paste your bot’s token. | Use your own application’s token. |
| That bot already runs another server. A custom bot serves one server. | Make a separate bot for this server. |
| Switch back to Gildi first, then paste the new bot. | You’re replacing a bot that’s running. Switch back to Gildi, then paste the new token. |
| Turn on the Server Members and Message Content intents first. | Turn both on in the Bot tab, then check again. |
| Invite [your bot] to the server first. | Use the invite in step 4, then check again. |
| Your own bot needs Pro. | Move the server to Pro on the Premium page. |
| Only someone with Manage Server can do this. | Ask someone with Manage Server. A dashboard role isn’t enough for your bot. |
Changing or removing your bot
To swap in a new token for the same bot, paste it at step 2. The bot keeps running. To use a different bot, switch back to Gildi first. Forget this bot removes the bot and its token from Gildi, once the server is back on Gildi.
If you leave Pro
Your bot keeps running for 7 days after the plan changes, then the server goes back to Gildi. Its settings are kept, so switching back takes one click if you return to Pro. See What happens when you downgrade.
Questions
Is it safe to paste my bot token into Gildi?
Gildi encrypts the token and never shows it again, not even to you. Only ever paste it into Gildi’s dashboard, and never share it with anyone else.
Can one custom bot run several servers?
No. A custom bot serves one server. Make a bot per server.
What happens to my bot if I leave Pro?
It keeps running for 7 days, then Gildi takes over again. Its settings are kept, so switching back takes one click if you return to Pro.
Can I go back to Gildi?
Yes, any time, with the same switch. Gildi stays in the server the whole time, so the switch is instant.