c017091f96 | ||
---|---|---|
.github | ||
images | ||
.env.example | ||
.gitignore | ||
README.md | ||
index.py | ||
requirements.txt |
README.md
RetniNet
Online on:
Installation and launching:
- Install Python on your machine. Version 3.10 or higher is required!
- Clone the repository on your machine.
- Open your console in the cloned repository.
- To complete the installation, write the following command in the console:
pip install -r requirements.txt
- After installation, you will need to configure the bot.
- To start the bot, write the following command in the console:
python index.py
Bot config:
DISCLAIMER: This bot must be used in educational purposes only. Your decisions are not our responsibility.
- Create a bot on BotFather.
- Go to the Bot tab, create a bot and copy its token.
- Create a file named .env or rename the .env.example file to .env.
- Open the .env file using any text editor.
- This file contains general bot settings in this format:
Field name | Example value | Description |
---|---|---|
botToken | "-" | The token you copied from the BotFather, used to login the bot. |
pastebinToken | "-" | Paste the Pastebin Token on the .env.example |
weatherToken | "-" | Paste the Weather Token on the .env.example |
deeplToken | "-" | Paste the Deepl Token on the .env.example |
spotifyid | "-" | Paste the Spotify Id on the .env.example |
spotifysecret | "-" | Paste the Spotify Secret on the .env.example |
user_id | "-" | Paste your user id on the .env.example |
password | "-" | Paste the link for shutdown commands on the .env.example |