/Roles

Manage selfroles on your Discord server

Primary LanguageRust

Roles

Small bot that allows your server members to assign roles to themselves. Without any bloat.

Click here to add the bot to your server

Permissions needed: only Manage Roles. The bot role also has to be above all selfroles.

Usage

/roles

Creates a select menu with currently available roles to pick from. The menu will keep track of your current selfroles, allowing you to simply uncheck a role to remove it.

/config add

Make a role be self-assignable. label and description are displayed in the menu.
You can update exising selfrole by adding it again.

/config remove

Remove a role from the list.

/persist

Create a button to invoke the menu without using the command. Useful for locked channels.

Selfhosting

As this is quite a small app, selfhosting it shouldn't be hard.

  • Have rust installed
  • Rename .env.example to .env (and probably set your actual token there)
  • Run cargo run --release to build and run the app.