fix (utils): Fix typo in permission exception.
This commit is contained in:
@@ -46,7 +46,7 @@ async def error_reply(ctx, error_str, send_args={}, **kwargs):
|
|||||||
ctx.sent_messages.append(message)
|
ctx.sent_messages.append(message)
|
||||||
return message
|
return message
|
||||||
except discord.Forbidden:
|
except discord.Forbidden:
|
||||||
if not ctx.guild or ctx.ch.permissions_for(ctx.guild.me).send_mssages:
|
if not ctx.guild or ctx.ch.permissions_for(ctx.guild.me).send_messages:
|
||||||
await ctx.reply("Command failed, I don't have permission to send embeds in this channel!")
|
await ctx.reply("Command failed, I don't have permission to send embeds in this channel!")
|
||||||
raise SafeCancellation
|
raise SafeCancellation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user