Building your own bot
Get started with the Developer Portal.
Open My Account › Developer Portal, or go to /developers in your browser.
- New application and give your bot a name.
- Copy its token and keep it secret. Anyone with it can control your bot.
- Add slash commands in the Commands tab.
- Use our JavaScript SDK, or the discord.js and discord.py compatibility layers, to bring an existing bot over.
The Docs tab has code examples for JavaScript, Kotlin and Python, plus an API tester.