Remove duplicate mentions
This commit is contained in:
parent
1736012d66
commit
c9f0c3e423
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue