From 6dde9fa13e81e84e8f06c3432253e6d84bc6c9bf Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 8 Aug 2020 03:56:27 +0100 Subject: [PATCH] Removed unnecessary check --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 872e18be..2f6a5a48 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.send_messages and bot.guild_permissions.embed_links: + if bot.guild_permissions.embed_links: await ctx.send(embed=embed) else: print("Error: Error Handling Message Could Not Be Sent")