From 0966dc2ca37f12e35d80be4ce4ca5875f486f4a1 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 11 Sep 2025 14:17:55 -0400 Subject: [PATCH] avoid saying to check DMs when an error isn't DMed --- nomen/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomen/notifications.py b/nomen/notifications.py index 5f90ddf..f43bd72 100644 --- a/nomen/notifications.py +++ b/nomen/notifications.py @@ -31,7 +31,7 @@ class KeywordError(Exception): async def send(self, ctx): if self.msg: - await ctx.send(self.msg + " (check DMs)") + await ctx.send(self.msg + (" (check DMs)" if self.dm_msg else "")) if self.dm_msg: await ctx.author.send(self.dm_msg)