Discord Bot Rewrite
Bishokus is a French Discord bot designed to enhance and entertain your server. Originally developed by Lenoch, the bot is being rewritten to improve functionality and maintainability.
While only three commands are currently available in this version, more features will be added soon.
The bot is built using Nextcord and uses MySQL for data.
Works with every os.
To add the old version of Bishokus, which includes all existing commands, click the link below:
-
Install Python:
- Install Python using your package manager. For example, on Debian-based systems:
sudo apt update sudo apt install python3 python3-venv python3-pip
- Install Python using your package manager. For example, on Debian-based systems:
-
Setup Virtual Environment:
- Create a virtual environment:
python3 -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
- Create a virtual environment:
-
Install Requirements:
- Install nextcord:
git clone -b components_v2 https://github.com/alentoghostflame/nextcord cd nextcord POETRY_DYNAMIC_VERSIONING_BYPASS=0.0.1 pip install .
- Install the necessary Python packages:
pip install -r requirements.txt
- Install nextcord:
-
Install MySQL:
- Install MySQL using your package manager. For example, on Debian-based systems:
sudo apt update sudo apt install mysql-server
- Install MySQL using your package manager. For example, on Debian-based systems:
-
Secure MySQL Installation:
- Run the security script to set up MySQL:
sudo mysql_secure_installation
- Run the security script to set up MySQL:
-
Create Database:
-
Open a terminal and log into MySQL:
sudo mysql -u root -p
-
Create the database and user:
sudo mysql -u root -p CREATE DATABASE your_database_name; CREATE USER 'your_username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password'; GRANT ALL PRIVILEGES ON your_database_name.* TO 'your_username'@'localhost'; FLUSH PRIVILEGES; EXIT;
-
- Edit Configuration:
- Open
config/config.json. - Update the configuration based on the default template provided.
- Open
-
Install Python:
- Download and install Python from python.org.
-
Setup Virtual Environment:
- Create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
.venv\Scripts\activate.bat
- Create a virtual environment:
-
Install Requirements:
- Install nextcord:
git clone -b components_v2 https://github.com/alentoghostflame/nextcord cd nextcord $env:POETRY_DYNAMIC_VERSIONING_BYPASS="0.0.1" pip install .
- Install the necessary Python packages:
pip install -r requirements.txt
- Install nextcord:
-
Install MySQL:
- Download and install MySQL from MySQL Installer - Community.
-
Create Database:
- Option 1: Use
MySQL Installer - Communityto create a database and set up a password. - Option 2: Log into MySQL and create the database:
-
Open Command Prompt and log into MySQL:
sudo mysql -u root -p --port 3306
-
Create the database and user:
CREATE DATABASE your_database_name; CREATE USER 'your_username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password'; GRANT ALL PRIVILEGES ON your_database_name.* TO 'your_username'@'localhost'; FLUSH PRIVILEGES; EXIT;
-
- Option 1: Use
- Edit Configuration:
- Open
config/config.json. - Update the configuration based on the default template provided.
- Open