Skip to content

Repository files navigation

Discord-Bot

Discord bot for the official ZAB Discord. Based on the VATUSA bot.

To install/run:

  1. Clone the repo to your server
  2. Create a .env file with the following parameters:
  3. Invite the bot to join your Discord server using this URL: https://discord.com/api/oauth2/authorize?client_id=987022139393716264&permissions=402655232&scope=bot%20applications.commands
  4. The command above will create a new role called "rolebot" on your Discord server. Move it above all of the roles that the bot it allowed to assign in your Discord server role hierarchy (bots can't assign roles below the role of the bot)
  5. Run "node register-commands.js" - this will register the /giveroles command on your Discord server.
  6. Run the bot. "forever start app.js" should work just fine to keep it running continuously.
  7. If you want the bot to only listen/post in certain channels (i.e. a dedicated give-roles channel), set your bot's permissions as needed

About

Discord bot for ZAB

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages