This repository contains a simple Discord bot that can simulate games using the Friends of Risk open API.
- Python 3.8+
discord.pyandaiohttp
Install dependencies with:
pip install discord.py aiohttpSet the DISCORD_TOKEN environment variable to your bot token and run:
python riskmatch_bot.pyUse the command !match followed by 2-6 Discord user mentions in any channel the bot can read. The bot will start a new thread and post each round until the game is completed.