aww bug fixed

This commit is contained in:
Mark Hoekveen
2017-12-06 00:28:24 +01:00
parent 0af039a323
commit f788fc987b
+2 -2
View File
@@ -46,8 +46,8 @@ class General(object):
def aww(self, ctx):
""" iets schattigs... """
print(type(ctx.message.channel))
raww = self.r.subreddit('aww+catloaf+tuckedinkitties+babyelephantgifs+babybigcatgifs+blep+holdmynip+gingerkitty+cathighfive+catsstandingup+catsareassholes', limit=500)
post = raww.top('month')
raww = self.r.subreddit('aww+catloaf+tuckedinkitties+babyelephantgifs+babybigcatgifs+blep+holdmynip+gingerkitty+cathighfive+catsstandingup+catsareassholes')
post = raww.top('month', limit=500)
listing = list(post)
random.shuffle(listing)
post = listing[0]