Toobo is a character from the French children's weather forecast show "La météo de Gulli". This adorable mascot presents weather information in a fun and engaging way for young viewers. In the show, Toobo uses simple language and playful animations to explain weather concepts and forecasts, making meteorology accessible and entertaining for children.
This Discord bot uses the Toobo-API to cast daily messages with meteorological information. It brings a cheerful approach to weather updates on Discord servers, providing weather information and forecasts with a friendly personality, making it both informative, enjoyable and funny.
- /meteo: Get weather information for a specific date
- /setup: Set up daily weather updates for a channel at a specified time
- /prefix: Change the bot's command prefix
- /enable-toobo: Enable automatic messages
- /disable-toobo: Disable automatic messages
To add the Toobo bot, click the link below:
https://discord.com/oauth2/authorize?client_id=1264602192564981863
-
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 the necessary Python packages:
pip install -r requirements.txt
- Install the necessary Python packages:
-
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:
- Log into MySQL and create the database:
sudo mysql -u root -p CREATE DATABASE your_database_name; CREATE USER 'your_username'@'localhost' IDENTIFIED BY 'your_password'; GRANT ALL PRIVILEGES ON your_database_name.* TO 'your_username'@'localhost'; FLUSH PRIVILEGES; EXIT;
- Log into MySQL and create the database:
- 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 the necessary Python packages:
pip install -r requirements.txt
- Install the necessary Python packages:
-
Install MySQL:
- Download and install MySQL from MySQL Installer - Community.
-
Create Database:
- Use
MySQL Installer - Community
to create a database and set up a password.
- Use
- Edit Configuration:
- Open
config/config.json
. - Update the configuration based on the default template provided.
- Open