A simple discord role giving bot
Go to file
Sam W 7de78344d7 Add nixos module 2023-05-11 17:46:13 +01:00
src Add working bot 2023-05-11 14:13:50 +01:00
.envrc Add working bot 2023-05-11 14:13:50 +01:00
.gitignore Add working bot 2023-05-11 14:13:50 +01:00
Cargo.lock Add working bot 2023-05-11 14:13:50 +01:00
Cargo.toml Add working bot 2023-05-11 14:13:50 +01:00
flake.lock Add working bot 2023-05-11 14:13:50 +01:00
flake.nix Add nixos module 2023-05-11 17:46:13 +01:00
readme.md Add readme 2023-05-11 14:36:15 +01:00

readme.md

Rolebot

Rolebot is a minimal discord bot that allows server members to manage their own roles. You might want to use this for general, non-permission-granting roles that anyone should be able to freely assign themselves like

  • pronouns
  • players of a particular game
  • favorite biscuit

Use

  • Create a Discord application
  • Copy the bot token, and make it available under the env var DISCORD_TOKEN
  • Go to oauth -> URL generator
    • Tick bot, then "manage roles" in the bot permissions.
  • Copy the URL into the menu bar and authorise the bot to join your server
  • This will automatically make a role with the same name as the bot. Rolebot will allow users to add or remove themselves from any role lower than this one in the order. Please make sure no permission-giving roles are lower than it!
  • Run the bot. That's it!