34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
# Bot developed with [discord.py](https://github.com/Rapptz/discord.py) (rewrite) - FRENCH
|
|
|
|
#### __Prerequisites__
|
|
|
|
- Python 3.8.6
|
|
- [requirements.txt](requirements.txt)
|
|
- Docker
|
|
|
|
#### __Setting up__
|
|
|
|
docker...in progress...
|
|
|
|
env:
|
|
|
|
TOKEN_DISCORD="your token discord"
|
|
TOKEN_GENIUS="your genius token"
|
|
TOKEN_REDDIT_CLIENT_ID="your client id"
|
|
TOKEN_REDDIT_CLIENT_SECRET="your client secret"
|
|
TOKEN_REDDIT_USER_AGENT="your user agent"
|
|
|
|
|
|
To find reddit tokens, go to [this site](https://www.reddit.com/prefs/apps) and here are the instructions: ![instructions](https://i.imgur.com/tEzYKDA.png)
|
|
|
|
*redirection uri (for copy/paste) : http://localhost:8080*
|
|
|
|
#### __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`
|