From ed5e19af0c7a7b99710af619801082f519ab89f9 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Fri, 24 Mar 2017 22:46:43 +0100 Subject: [PATCH] Fix user() method --- bottools/methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bottools/methods.py b/bottools/methods.py index 31f7e28..a6543e0 100644 --- a/bottools/methods.py +++ b/bottools/methods.py @@ -360,7 +360,7 @@ def user(bot, update, args): try: two = bottools.methods.getTwo(update.message) - for status in two.api.user_timeline(args[0], count = args[1]): + for status in two.api.user_timeline(args[0], count = count): tweetMessage(status, update.message.chat_id, bot) except tweepy.error.TweepError as e: