From 1ecbe6cebb90317e9a7b499e43887bb84d2cdfb0 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri, 31 Dec 2021 02:51:06 +0100 Subject: [PATCH] Only check for permissions when `check_permissions` is True (#5510) --- redbot/core/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/core/bot.py b/redbot/core/bot.py index 4bfa3df29..2cd403fae 100644 --- a/redbot/core/bot.py +++ b/redbot/core/bot.py @@ -1246,7 +1246,7 @@ class Red( if (user_setting := await self._config.user(user).embeds()) is not None: return user_setting else: - if not channel.permissions_for(channel.guild.me).embed_links: + if check_permissions and not channel.permissions_for(channel.guild.me).embed_links: return False if (channel_setting := await self._config.channel(channel).embeds()) is not None: