mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 14:47:29 +00:00
Added check for manage_channels
This commit is contained in:
parent
1953a06f9f
commit
ab67ebc0c4
1 changed files with 1 additions and 0 deletions
|
@ -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('✅')
|
||||||
|
|
Loading…
Reference in a new issue