Flaviobot is a bot that allows you to play the popular Italian TV game "La Ghigliottina" with friends on Slack.
The goal is to be able to secretly store all the participants' words while the game is on and then reveal them all together when everybody has submitted a word.
Since the gameshow is in Italian, the bot "speaks" only Italian.
The bot needs to be invited in your channel. It can also be a private channel. Just invite it as you would do with a real person. It will automatically accept and join.
When the TV game is starting you need to tell the bot to be ready to accept the words. The command is:
You can now direct message the bot and provide your word. It will be memorized, to be shared later. The bot will also inform (in the channel where he was activated) that a certain user has provided a word (without revealing the word, of course)
The word is sent in a direct message:
The bot updates everybody in the channel:
In case you change your mind you can still submit a new word, while the game is still open. The bot will remember only the last word provided.
Once everybody has submitted a word the game can be closed. The command is:
Clone this repo, then run:
You also need to create two environmental variables:
export BOTPORT=80 the port where you want to run the bot
export TOKEN=xxx-xxx this is the token you get from Slack
When this is done you can simply run it with:
First create a file on root level called
Then put here the environmental variables, as explained previously.
When this is done you can run it with Docker:
docker-compose up --build
That's it. Enjoy!