From f788fc987bf7b1b6c2e364697ee8b93eee9d8f2d Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Wed, 6 Dec 2017 00:28:24 +0100 Subject: [PATCH] aww bug fixed --- General.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/General.py b/General.py index 8f89ae8..f1494bf 100644 --- a/General.py +++ b/General.py @@ -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]