diff --git a/cogs/events.py b/cogs/events.py index 15702b953..8edb2e9f4 100644 --- a/cogs/events.py +++ b/cogs/events.py @@ -111,7 +111,7 @@ async def scan_message(self, message: discord.Message, is_edit=False): f"✉️ **Invite posted**: {message.author.mention} posted an invite link in {message.channel.mention}" f" {'(message deleted)' if non_approved_invites else ''}" f"\n------------------\n" - f"{self.bot.escape_text(message.content)}") + f"{self.bot.escape_text(message.content)}", suppress_embeds=any(non_approved_invites)) if non_approved_invites: try: await message.delete()