You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
out="Reddit returned an error, response: {}".format(status)
46
46
returnout
47
47
48
+
48
49
@hook.command("moremod", autohelp=False)
49
50
defmoremod(text, chan):
50
51
"""if a sub or mod list has lots of results the results are pagintated. If the most recent search is paginated the pages are stored for retreival. If no argument is given the next page will be returned else a page number can be specified."""
51
52
ifnotsearch_pages[chan]:
52
53
return"There are modlist pages to show."
53
54
iftext:
54
-
index=""
55
55
try:
56
56
index=int(text)
57
57
except:
@@ -127,6 +127,7 @@ def karma(text):
127
127
out+="redditor for {} days.".format(account_age.days)
128
128
returnout
129
129
130
+
130
131
@hook.command("cakeday", singlethreaded=True)
131
132
defcake_day(text):
132
133
"""cakeday <reddituser> will return the cakeday for the given reddit username."""
@@ -149,8 +150,8 @@ def cake_day(text):
149
150
out+="they have been a redditor for {} days.".format(account_age.days)
0 commit comments