sauerworld-roles

command module
v0.0.0-...-e361cb4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 8 Imported by: 0

README

Sauerworld Discord Roles Bot

Listens for reactions on specific messages and toggles roles on the reacting users.

  • 1 message, 1 role: each message maps to exactly one role
  • adding any reaction to a message will assign the role (if the user doesn't already have it)
  • removing any reaction from that message will remove the role (if the user has it)

Configuration

Configuration is done via environment variables:

Role names are resolved to role IDs via the Discord API and then cached.

Changing or adding roles on the server or mapping roles to new messages requires a restart of the bot with updated configuration.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL