2.5 KiB
2.5 KiB
Bot developed with discord.py (rewrite) - FRENCH
Setting up
You have to replace TOKEN_DISCORD
, PREFIX
, TOKEN_GENIUS
, TOKEN_REDDIT_CLIENT_ID
, TOKEN_REDDIT_CLIENT_SECRET
, TOKEN_REDDIT_USER_AGENT
and TIMEZONE
with your desired values.
With a docker-compose or in command line:
docker run -d \
--name="KassouBot" \
mylloon/kassoubot \
--TOKEN_DISCORD="yourTokenDiscord" \
--TOKEN_GENIUS="yourTokenGenius" \
--TOKEN_REDDIT_CLIENT_ID="yourRedditClientID" \
--TOKEN_REDDIT_CLIENT_SECRET="yourRedditClientSecret" \
--TOKEN_REDDIT_USER_AGENT="yourRedditUserAgent" \
--TIMEZONE="yourTimezone" \
--PREFIX="yourPrefix"
To find reddit tokens, go to this site and here are the instructions:
redirection uri (for copy/paste) : http://localhost:8080
Add the bot to your server
- In the Discord Dev Portal create an application, and make sure it's a
Bot
(third tab). - To invite it, go to the
OAuth2
(second tab) tab, select the scopesbot
(required) andapplications.commands
(for the slashs commands) and in the bot permissions selectAdministrator
(You can select manually at your own risk). - You have the link above between the two blocks scope and permissions.
- If you need help, you can join my Discord.
Features
Everything is explained by doing the help
command.