Remove duplicate mentions

This commit is contained in:
Klaus-Uwe Mitterer 2017-04-02 03:19:36 +02:00
parent 1736012d66
commit c9f0c3e423

View file

@ -345,7 +345,7 @@ def reply(bot, update, args):
else:
mentions = []
pargs = mentions + args[1:]
pargs = list(set(mentions)) + args[1:]
except:
update.message.reply_text(bottools.strings.cantfind % args[0])