try to make praw 4.4 work

This commit is contained in:
root 2017-05-06 02:17:00 +00:00
parent 2fd8cfd06b
commit b58d4006d2
6 changed files with 4 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
client.py
*.pyc

Binary file not shown.

BIN
price.pyc

Binary file not shown.

BIN
stock.pyc

Binary file not shown.

View File

@ -4,6 +4,7 @@ import random
import re import re
import requests import requests
import praw import praw
from client import *
@sopel.module.commands('4matter') @sopel.module.commands('4matter')
def fourmatter(bot, trigger): def fourmatter(bot, trigger):
@ -287,7 +288,7 @@ def summon(bot, trigger):
def timetravelpp(bot, trigger): def timetravelpp(bot, trigger):
bot.say("A journey is best measured in pepes, rather than miles http://rarepepedirectory.com/wp-content/uploads/2016/09/timetravelpepe.jpg") bot.say("A journey is best measured in pepes, rather than miles http://rarepepedirectory.com/wp-content/uploads/2016/09/timetravelpepe.jpg")
reddit=praw.Reddit(user_agent='monerobux') reddit=praw.Reddit(client_id=client_id, client_secret=client_secret, user_agent='monerobux')
@sopel.module.commands('tinytrump') @sopel.module.commands('tinytrump')
def tinytrump(bot, trigger): def tinytrump(bot, trigger):
try: try:

Binary file not shown.