This is an example bot project for the DiscordKt library, showing all the core features and syntax.
Before you can run the example code. You need to create a bot on Discord.
Create a bot account in the developers section of the Discord website.
- Create an application
- Under "General Information"
- Enter an app icon and a name.
- You will need the client ID when adding the bot to a server.
- Under "Bot"
- Create a bot.
- Give it a username and app icon.
- You will need the token when operating the bot.
- This is a secret token, don't reveal it!
- Save changes
- Visit the permissions page.
- Under "OAth URL Generator" enter the bot's client ID from the step above.
- Click the link to add it to a server.