1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Change server to guild

This commit is contained in:
Phxntxm 2017-03-25 22:41:54 -05:00
parent 0968284ede
commit 2a82a7d78a

View file

@ -113,7 +113,7 @@ class Tags:
if tags:
for t in tags['tags']:
if t['trigger'] == tag:
if ctx.message.author.permissions_in(ctx.message.channel).manage_server or str(ctx.message.author.id) == t['author']:
if ctx.message.author.permissions_in(ctx.message.channel).manage_guild or str(ctx.message.author.id) == t['author']:
tags['tags'].remove(t)
await ctx.send("I have just removed the tag {}".format(trigger))
else: