fix (utils): Fix typo in permission exception.

This commit is contained in:
2022-01-22 06:49:46 +02:00
parent 2818e9e7be
commit 136c5e294b

View File

@@ -46,7 +46,7 @@ async def error_reply(ctx, error_str, send_args={}, **kwargs):
ctx.sent_messages.append(message)
return message
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!")
raise SafeCancellation