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
2021-03-19 23:15:00 +01:00

37 lines
2 KiB
Markdown

# Bot developed with [discord.py](https://github.com/Rapptz/discord.py) (rewrite) - FRENCH
[![Version](https://img.shields.io/badge/version-1.0-green.svg?style=for-the-badge)](https://github.com/Confrerie-du-Kassoulait/KassouBot/releases/latest)
[![Docker Stars](https://img.shields.io/docker/stars/mylloon/kassoubot.svg?style=for-the-badge)](https://hub.docker.com/repository/docker/mylloon/kassoubot)
[![Docker Pulls](https://img.shields.io/docker/pulls/mylloon/kassoubot.svg?style=for-the-badge)](https://hub.docker.com/repository/docker/mylloon/kassoubot)
[![Github Stars](https://img.shields.io/github/stars/Confrerie-du-Kassoulait/kassoubot.svg?style=for-the-badge)](https://hub.docker.com/repository/docker/mylloon/kassoubot)
[![Github Forks](https://img.shields.io/github/forks/Confrerie-du-Kassoulait/kassoubot.svg?style=for-the-badge)](https://hub.docker.com/repository/docker/mylloon/kassoubot)
## __Setting up__
You have to replace `TOKEN_DISCORD`, `TOKEN_GENIUS`, `TOKEN_REDDIT_CLIENT_ID`, `TOKEN_REDDIT_CLIENT_SECRET` and `TOKEN_REDDIT_USER_AGENT` with your desired values.
With a [docker-compose](docker-compose.yml) or in command line:
```
docker run -d \
--name="kassoubot" \
mylloon/kassoubot \
--TOKEN_DISCORD="yourValue" \
--TOKEN_GENIUS="yourValue" \
--TOKEN_REDDIT_CLIENT_ID="yourValue" \
--TOKEN_REDDIT_CLIENT_SECRET="yourValue" \
--TOKEN_REDDIT_USER_AGENT="yourValue"
```
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`