discord-accept-bot
A simple bot for people to be able to accept rules by doing /accept
Running locally
Installing globally
yarn global add discord-accept-bot
Configuring in the command line
acceptbot --prefix=! # Optional acceptbot -p ! # Default: / acceptbot --command=agree # Optional acceptbot -d agree # Default: accept acceptbot --channel=welcome # Optional acceptbot -h welcome # Default: Rules acceptbot --role=12345678 # Required acceptbot -r 12345678 acceptbot --token=$TOKEN # Required acceptbot -t $TOKEN
Cloning from the git repository
git clone git@github.com:MegaCode18/discord-accept-bot.gitcd discord-accept-botyarnyarn start
Configuring from the git repository
All configuration is stored in a .config.js
file. Here is an example of such a file:
module { accept // Prefix to use | Default: / accept // Command to use | Default: accept accept // Channel members need to use to accept | Default: #rules accept // Role ID to assign once rules are accepted accept // Login token}