A very simple bot I use to query the availability of server members. This bot will create messages and react with a ✅, ❌, or ❓ so that users can choose what choice fits best for them
Sends a message for every choice and reacts with the above emojis.
example: !wb react Monday, Tuesday, Wednesday
Spaces after "," are optional
First sends the question to the chat, then sends a message for every choice and reacts with the above emojis.
example: !wb reactq What days are you all available? Monday, Tuesday, Wednesday
The "? " is required
Spaces after "," are optional
Clears all bot messages (limit 100)
Posts a message describing the bots functionality
Repeats your last recorded command. !wb repeat and !wb clear are not recorded
The information described below is only relevant if you want to run the bot locally. For usage, see above.
In order to start, WatchBot needs to be provided a bot token in a .env file as shown below:
WATCH_BOT_TOKEN=YOUR_TOKEN_HERE
If you're unsure how to get a token, see Discord's Developer Portal
- Create a .env file in the project root as described above
- npm i
- npm run build
- npm run start