Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 1.98 KB

setup.md

File metadata and controls

72 lines (56 loc) · 1.98 KB

TRAGIC SIMP

TragicSimp is a discord bot that can send memes, facts, jokes, quotes and track user stats

Installation

Download this project

git clone https://github.com/JayP09/discfactbot.git

Installing Dependencies

pip install requirements.txt

Setting up config.py

  • Setting up discord API:

1.Go to DISCORD DEV PAGE and create a bot of your choice, then: 2. to get a user id check this Article:

self.TOKEN = 'YOUR DISCORD BOT PUBLIC KEY HERE'
self.OWNER_IDS = ['YOUR USER ID HERE']
  • Setting up MONGO DB:

Go to MONOGO-DB and

  1. signup and create a cluster
  2. click on connect, then connect to the application
  3. select python 3.6 and above
  4. get the link

EXAMPLE:

DB_LINK

only get the string inside (" ") 5. Enter your username and password and then paste the link here

self.db_link = "your Mongo database link here"
  • Setting up Reddit API:

  1. Go to REDDIT DEV API sign up
  2. Get the client_id and client_secret and paste them here
  3. also paste your logo info (username, password) here
self.client_id = "YOUR CLIENT ID"
self.client_secret = 'YOUR CLIENT SECRET'
self.username = "YOUR REDDIT USERNAME"
self.password = "YOUR REDDIT PASSWORD"
  • Setting up FavQ's API:

  1. Go to FavQs
  2. Create a key and paste it here
self.ACCESS_KEY_QUOTES = 'YOUR API KEY HERE'

Set up your own Reddit Meme Pages

  1. From Resources open meme_creator_db.py
  2. Add your own favorite meme pages in page_list using ['funny', 'your meme page here']
  3. You are Done!

THANK YOU :) DONT FORGET TO GIVE A STAR 🌟 IF YOU LIKED IT