Main repository for 31113
-
Create
secret.py
inside thebot
folder. -
Define your tokens and IDs in
secret.py
:TOKEN
for Discord bot tokenSAUCE_TOKEN
for SauceNao API tokenREDDIT_ID
andREDDIT_SECRET
for Reddit data (follow these steps to obtain them)GELBOORU_KEY
andGELBOORU_ID
for GelbooruDANBOORU_KEY
andDANBOORU_LOGIN
for Danbooru
TOKEN = "discordbottokenhere" # Leave the strings below empty as "" if you don't plan on using them SAUCE_TOKEN = "saucenaoapitokenhere" REDDIT_ID = "redditappidhere" REDDIT_SECRET = "redditappsecrethere" GELBOORU_KEY = "gelboorukeyhere" GELBOORU_ID = "gelbooruidhere" DANBOORU_KEY = "danboorukeyhere" DANBOORU_LOGIN = "danbooruloginhere"
-
Run the bot with:
python -O -m bot # Windows users may need to run this instead py -O -m bot
End User Documentation is available here