aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/help_channels/_message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/help_channels/_message.py b/bot/exts/help_channels/_message.py
index 40bec74a5..b79697f73 100644
--- a/bot/exts/help_channels/_message.py
+++ b/bot/exts/help_channels/_message.py
@@ -256,7 +256,7 @@ def _match_bot_embed(message: t.Optional[discord.Message], description: str) ->
return False
bot_msg_desc = message.embeds[0].description
- if bot_msg_desc is discord.Embed.Empty:
+ if bot_msg_desc is None:
log.trace("Last message was a bot embed but it was empty.")
return False
return message.author == bot.instance.user and bot_msg_desc.strip() == description.strip()