diff --git a/techsupport_bot/commands/modmail.py b/techsupport_bot/commands/modmail.py index 027a9e9d..9a50f050 100644 --- a/techsupport_bot/commands/modmail.py +++ b/techsupport_bot/commands/modmail.py @@ -1087,6 +1087,12 @@ async def on_message(self: Self, message: discord.Message) -> None: # Sends a factoid case "send": + if content == "send": + await auxiliary.send_deny_embed( + message="No factoid to send", + channel=message.channel, + ) + return # Replaces \n with spaces so factoid can be called even with newlines query = message.content.replace("\n", " ").split(" ")[1].lower() factoid = (