/grabbag.bot

A discord bot for selecting a channel message at random 👾

Primary LanguageJavaScript

grabbag.bot

a discord bot for highlighting a random channel message 👾

what is it?

grabbag takes all of the messages in a channel that have a react and randomly picks one. thats all.

NOTE: the more reacts that a message has the better chance it will be picked

getting started

- add to discord -

commands

to vote: <react to a message>

to randomly pick a message: !grabbag pick

environment variables

these can only be changed if you host your own bot...

BOT_TOKEN - discord token
SELECTION_CHANNEL - channel to select messages from
THINKING_MESSAGE - message to be sent just before selecting message
SELECTION_MESSAGE - message to send as selection happens
ANNOUNCEMENT_CHANNEL - channel to make selection announcement (leave blank for no announcement)
ANNOUNCEMENT_MESSAGE - message to send with announcement
PICKED_SOUND - if ~ nil grabbag will join the channel and play this sound after it picks a message