A bot for playing the dice game "Cul de Chouette" on a Discord server.
The game originally appears in French comedy series Kaamelot, and was subsequently developped into a full game by fans. You can find the rules here: rules
You must have NodeJS installed. link
You must have a text editor.
You'll need a Discord account to test your bot.
Clone the repo onto your hard drive, then install Discord's dependencies using NPM:
npm install discord.io winston --save
Now you need to follow this tutorial to setup your discord app. Make sure to note down your bot token.
Now you need to create the files that the bot need in order to run.
First of all create a file in the root directory of the repo called auth.json
. You'll need to open it in your editor and write this in it:
{
"token": "YOUR-BOT-TOKEN"
}
Now create another file called scores.json
in the same place. Again, open it and paste this in:
[]
Yes, just that. The file is imported by the bot as an array, and will be populated by the player's scores.
All done! To run the bot simply open a terminal in the repo folder and run:
node bot.js
- Refactor code. It's a horrendous mess.
- Write point counting system
- Make bot more interactive (host "game sessions" etc...)
- Optimize file i/o
- Dylan Robins - Initial work
- Vincent Charrel - Initial concept
This project is licensed under the GNU GPL3 License - see the LICENSE file for details
Thanks to Alexandre Astier, creator of Kaamelot, for creating the game.