Skip to content

EllieJaybee/31113

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

31113

Main repository for 31113

Usage

  1. Create secret.py inside the bot folder.

  2. Define your tokens and IDs in secret.py:

    • TOKEN for Discord bot token
    • SAUCE_TOKEN for SauceNao API token
    • REDDIT_ID and REDDIT_SECRET for Reddit data (follow these steps to obtain them)
    • GELBOORU_KEY and GELBOORU_ID for Gelbooru
    • DANBOORU_KEY and DANBOORU_LOGIN for Danbooru

    Example

    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"
  3. Run the bot with:

    python -O -m bot
    # Windows users may need to run this instead
    py -O -m bot

Documentation

End User Documentation is available here

DigitalOcean Referral Badge