Small Discord bot that can parse subreddits
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
677 B

import praw
##### REDDIT
reddit = praw.Reddit(client_id='YourId',
client_secret = 'YourSecret' ,
username ='YourUsername' ,
password = 'YourPassword',
user_agent = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36')
#Check the praw documentation if you have questions (You get these (exept user agent) when you create an app whithin a Reddit)
# reddit.com/prefs/apps/
#####
#####DISCORD
TOKEN = 'YOUR TOKEN'#You can find it when the bot application created here: discord.com/developers/applications
#####