Page cover

Bot

Step 1 Create a Bot

  • Go to the Discord Developer Portal. https://discord.com/developers/applications

  • Go to applications.

  • Click new application.

  • Click Bot.

  • Click Reset Token.

  • Copy token.

  • Enable Privileged Gateway Intents. (I recommend enabling them all)

Step 2 Invite Bot to Server

  • Select the permissions the bot should have. (I recommend just giving admin)

  • Copy the client ID from the application.

  • Click the generated link on the calculator.

  • Invite the bot to the server.

Step 3 Register Bot with Leaf

  • In the config.yml paste the bot's token into the discord_token field.

  • Restart the proxy server.

  • You're done!

Command Defaults

What can i do with my bot?

Create a command that responds with a message.

Last updated