Fix quote() function

This commit is contained in:
Klaus-Uwe Mitterer 2017-03-25 13:06:01 +01:00
parent ed5e19af0c
commit 1f0b754b1f

View file

@ -249,7 +249,7 @@ def quote(bot, update, args):
update.message.reply_text(bottools.strings.cantfind % args[0]) update.message.reply_text(bottools.strings.cantfind % args[0])
raise raise
bottools.methods.explicitTweet(bot, update, args) bottools.methods.explicitTweet(bot, update, args[1:])
def retweet(bot, update, args): def retweet(bot, update, args):
message = update.message or update.callback_query.message message = update.message or update.callback_query.message