Post

Discord bot to play Spy

Python Discord bot that is leading a game - Spy in a text chat

Discord bot to play Spy

General information

When I was studying in school, I was constantly learning new things. One day, I set a goal to create a Discord bot that could facilitate the game called Spy for me and my friends. As a result, I developed programming skills and gained proficiency in using the Discord API. This was my first succesfull project that I am proud of.

Unfortunately, the code is not available and not working anymore

Screenshots from discord

Example 1

Bot shows the rules of the game using command rules Example 1

Example 2

Bot shows available commands using command comms Example 2

Example 3

Players vote for an imposter in the game using command vote Example 3

Example 4

When the vote has been finished, bot counts number of votes and provide the results of the game
In this case Spy automatically won, as a lot of players thought on wrong person Example 4

This post is licensed under CC BY 4.0 by the author.