This repository has been archived on 2022-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
KassouBot/README.md

35 lines
1.2 KiB
Markdown
Raw Normal View History

2020-11-29 13:24:54 +01:00
# Bot developed with [discord.py](https://github.com/Rapptz/discord.py) (rewrite) - FRENCH
2020-11-29 11:50:51 +01:00
#### __Prerequisites__
2020-12-14 14:52:13 +01:00
- Python 3.9.1 (can probably work with older versions)
2020-11-29 11:50:51 +01:00
- [requirements.txt](requirements.txt)
#### __Setting up__
2020-11-30 14:16:18 +01:00
- A `tokens.py` file that contains:
2020-11-29 11:50:51 +01:00
```py
token_discord = "your discord token"
token_genius = "your genius token"
2020-12-11 11:25:52 +01:00
token_reddit = {"client_id": "your client id", "client_secret": "your secret pass", "user_agent": "your reddit's username"}
2020-11-29 11:50:51 +01:00
```
2020-12-11 15:39:37 +01:00
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)
2020-12-11 11:25:52 +01:00
*redirection uri (for copy/paste) : http://localhost:8080*
2020-11-29 11:50:51 +01:00
#### __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__
2020-11-29 11:59:49 +01:00
Everything is explained by doing `.help`