mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Redundant is True
This commit is contained in:
parent
bfc39d7a99
commit
cb5d3549e4
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def is_nsfw():
|
|||
|
||||
def del_ctx():
|
||||
async def predicate(ctx):
|
||||
if ctx.me.permissions_in(ctx.channel).manage_messages is True and isinstance(ctx.message.channel, discord.TextChannel) and ctx.guild.id in u.settings['del_ctx']:
|
||||
if ctx.me.permissions_in(ctx.channel).manage_messages and isinstance(ctx.message.channel, discord.TextChannel) and ctx.guild.id in u.settings['del_ctx']:
|
||||
try:
|
||||
await ctx.message.delete()
|
||||
|
||||
|
|
Loading…
Reference in a new issue