30 lines
935 B
Markdown
30 lines
935 B
Markdown
# Bot developed with [discord.py](https://github.com/Rapptz/discord.py) (rewrite) - FRENCH
|
|
|
|
#### __Prerequisites__
|
|
|
|
- Python 3.7.9
|
|
- [requirements.txt](requirements.txt)
|
|
|
|
#### __Setting up__
|
|
|
|
- A `tokens.py` file that contains:
|
|
|
|
```py
|
|
token_discord = "your discord token"
|
|
token_genius = "your genius token"
|
|
token_reddit = {"client_id": "ton client_id", "client_secret": "ton client_secret", "user_agent": "ton pseudo (exemple u/gotaga)"}
|
|
```
|
|
|
|
#### __Starting up__
|
|
|
|
- Run [main.py](main.py)
|
|
|
|
#### __Add the bot to your server__
|
|
|
|
- [This site](https://discordapi.com/permissions.html) allows you to choose which permissions to add by default to the bot.
|
|
- Choose *Administrator* so you don't get in over your head.
|
|
- Copy and paste the ID of your bot in *Client ID* found [here](https://discord.com/developers/applications) and go to the link at the bottom of the page.
|
|
|
|
## __Features__
|
|
|
|
Everything is explained by doing `.help`
|