1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 21:02:38 +00:00

Added check for manage_channels

This commit is contained in:
Myned 2017-10-16 15:58:05 -04:00
parent 1953a06f9f
commit ab67ebc0c4

View file

@ -370,6 +370,7 @@ class MsG:
await channel.send('✅ **Stopped queueing messages for reversion in** {}**.**'.format(channel.mention), delete_after=5) await channel.send('✅ **Stopped queueing messages for reversion in** {}**.**'.format(channel.mention), delete_after=5)
@commands.command(name='autoreverse', aliases=['autorev', 'ar']) @commands.command(name='autoreverse', aliases=['autorev', 'ar'])
@commands.has_permissions(manage_channels=True)
async def auto_reverse_image_search(self, ctx): async def auto_reverse_image_search(self, ctx):
try: try:
await ctx.message.add_reaction('') await ctx.message.add_reaction('')