1
0
Fork 0
mirror of synced 2024-06-21 12:00:16 +12:00

Added a zero-width space to tags to ensure they can't trigger other bot's commands

This commit is contained in:
Phxntxm 2016-09-12 15:34:31 -05:00
parent ca35605f97
commit 15dedc5256

View file

@ -33,7 +33,7 @@ class Tags:
await self.bot.say('That tag does not exist!')
return
# We shouldn't ever have two tags of the same name, so just get the first result
await self.bot.say("{}".format(result[0]['result']))
await self.bot.say("\u200B{}".format(result[0]['result']))
@tag.command(name='add', aliases=['create', 'start'], pass_context=True, no_pm=True)
@checks.custom_perms(kick_members=True)