A Discord bot with fun commands made with discord.py inspired by high-quality plush Touhou Project character figures.
Install Python 3.10 or higher
Install Python from https://www.python.org/downloads/
Download the repository
You can either:- Install the repo as ZIP then unzip it, or
- Run
git clone https://github.com/Kuro-Rui/Fumo-DiscordBot
on your terminal (which requires you to install Git first)
Make a Virtual Environment (Venv)
Run
python3.10 -m venv .venv
in the project directory on your terminal (or whatever it's called on your OS)Activate the Venv
Run
source .venv/bin/activate
on your terminalInstall the dependencies
Make sure you're in your venv, then run these commands on your terminal:
pip install -U pip pip install -r requirements.txt
Install Redis
Start Redis server
Create Configuration File
Create a file named
config.json
in the project directory and fill it with the following:{ "description": "", "embed_colour": "", "mobile": true, "permissions": 0, "prefix": "", "redis_uri": "", "token": "" }
- description: The description of the bot. This is used for the bot's help menu.
- embed_colour: The colour of the embeds.
- mobile: Whether the bot will be on mobile status or not.
- permissions: The permissions the bot will have. Use permissions calculator to calculate the value.
- prefix: The prefix the bot will use.
- redis_uri: The URI of the Redis database.
- token: The bot's token.
Run the bot
Make sure you're on your venv, then run
python launcher.py
on your terminal.
- Cog-Creators for some methods (error handling, rich logging, and pagify) from Red-DiscordBot
- Draper for the ANSI formatting helper from PyLav
- Danny for the amazing discord.py library
- Glas who helped me making the bot's Imgen cog
- Whoever helped and supported me on Discord which I can't say one by one ❤️