Codenames-bot
Features
- Complete Codenames gameplay adaptation to Discord text channels (in the server and in DMs)
- Move processing according to game rules
- Captain (DMs)
- bot sends captain playing field (a new field after each opened word)
- captain responds with their move
- opened words notifications
- Team (server text channel)
- bot sends common playing field (a new field after each opened word)
- any team member responds with their move (a word to open)
- end or continuation of the move (according to its colour)
- Team (server text channel or thread)
- bot sends common playing field (a new field after each opened word)
- any team member responds with their move (a word to open)
- end or continuation of the move (according to its colour)
- Captain (DMs)
- Ability to finish the move (if the team is unsure which word to open next)
- Ability to finish the game (with a voting)
- Move processing according to game rules
- Playing field image generation
- Per-player statistics collection
- Best players list (global, within a server, within a role)
- Custom bot prefixes for servers and DMs
- Bot messages localization for servers and DMs
- 🇬🇧 English
- 🇷🇺 Russian
Used libraries
- discord.py (v1.7.3) as Discord API
- Pillow (PIL) for image generation
- aiosqlite for asynchronous database handling
- python-dotenv for loading environment variables