A Discord bot for playing Ouija.
The bot is built from z64's gemstone template.
Essentially, once a game starts each player can submit messages (see below for rules) that are either single characters,
Goodbye will attempt to end the game. Once the game ends successfully, the bot posts the string of letters/words.
The goal is to collaborate – without talking to each other – and write out a word or phrase.
You can start a game of Ouija with the command
There are two game modes:
ouija!start, simply runs the game with no specific topic.
ouija!start Question?, e.g.
ouija!start Spirits, what is your favorite color?.
You can also start the game with
ouija!startq also works). This will pick a random question from the list in
questions.yml, included in the bot's code.
Once the game starts, only certain messages are allowed. All other messages will be deleted.
Only messages that follow these rules will be allowed:
Space- These are replaced with a space character in the final string.
Goodbye- This attempts to end the game.
A game of Ouija can be ended when a user sends a
Goodbye causes three things to happen:
Goodbyemessage. Note that reactions from the user who sent the
Goodbyewill not be counted.
Goodbyemessage in order to delete it.
If the game gets to 600 seconds without the
Goodbye message receiving a sufficient number of reactions, the
Goodbye message is deleted and the game will continue.
Goodbye message receives a sufficient number of reactions, the game will end and the bot will post the final answer. The bot checks the number of reactions every 15 seconds, so you shouldn’t need to wait a full 10 minutes for the game to end.
The bot currently doesn't really handle the following:
Pull requests are happily accepted (within reason). See CONTRIBUTING.md for more information.