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

38 lines
2.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
2021-04-01 16:08:27 +02:00
[![Version](https://img.shields.io/badge/version-1.1-green?style=for-the-badge)](https://github.com/Confrerie-du-Kassoulait/KassouBot/releases/latest)
[![Docker Stars](https://img.shields.io/docker/stars/mylloon/kassoubot?style=for-the-badge)](https://hub.docker.com/repository/docker/mylloon/kassoubot)
[![Docker Pulls](https://img.shields.io/docker/pulls/mylloon/kassoubot?style=for-the-badge)](https://hub.docker.com/repository/docker/mylloon/kassoubot)
[![Github stars](https://img.shields.io/github/stars/Confrerie-du-Kassoulait/kassoubot?label=Github%20Stars&style=for-the-badge)](https://github.com/Confrerie-du-Kassoulait/KassouBot/stargazers)
[![Github forks](https://img.shields.io/github/forks/Confrerie-du-Kassoulait/KassouBot?label=Github%20Forks&style=for-the-badge)](https://github.com/Confrerie-du-Kassoulait/KassouBot/network)
2021-03-17 22:14:11 +01:00
## __Setting up__
2020-11-29 11:50:51 +01:00
2021-03-27 00:08:53 +01:00
You have to replace `TOKEN_DISCORD`, `TOKEN_GENIUS`, `TOKEN_REDDIT_CLIENT_ID`, `TOKEN_REDDIT_CLIENT_SECRET`, `TOKEN_REDDIT_USER_AGENT` and [`TIMEZONE`](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) with your desired values.
2021-03-19 23:20:09 +01:00
With a [docker-compose](https://github.com/Confrerie-du-Kassoulait/KassouBot/blob/master/docker-compose.yml) or in command line:
2021-03-17 21:36:01 +01:00
```
docker run -d \
2021-03-28 14:41:34 +02:00
--name="KassouBot" \
2021-03-17 21:36:01 +01:00
mylloon/kassoubot \
--TOKEN_DISCORD="yourValue" \
--TOKEN_GENIUS="yourValue" \
--TOKEN_REDDIT_CLIENT_ID="yourValue" \
--TOKEN_REDDIT_CLIENT_SECRET="yourValue" \
2021-03-27 00:08:53 +01:00
--TOKEN_REDDIT_USER_AGENT="yourValue" \
--TIMEZONE="yourTimezone"
2021-03-17 21:36:01 +01:00
```
2020-12-11 11:25:52 +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-11-29 11:50:51 +01:00
*redirection uri (for copy/paste) : http://localhost:8080*
2020-11-29 11:50:51 +01:00
2021-03-17 22:14:11 +01:00
## __Add the bot to your server__
2020-11-29 11:50:51 +01:00
- [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`