Fix user() method
This commit is contained in:
parent
3537379e99
commit
ed5e19af0c
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue