From 1672e8d0919a7e4bec1a519894cbcac12364669a Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 8 Aug 2020 04:00:29 +0100 Subject: [PATCH] Added check back --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2f6a5a48..872e18be 100644 --- a/main.py +++ b/main.py @@ -442,7 +442,7 @@ async def on_command_error(ctx, args2): async def send_error(ctx, bot, embed): """Sending error message to the user""" - if bot.guild_permissions.embed_links: + if bot.guild_permissions.send_messages and bot.guild_permissions.embed_links: await ctx.send(embed=embed) else: print("Error: Error Handling Message Could Not Be Sent")