From 3928049c4cea4b8541c50cbce4020098e211fb0e Mon Sep 17 00:00:00 2001 From: Sarbjotm Date: Wed, 5 May 2021 14:23:48 -0700 Subject: [PATCH] anonmsg.error -> annoucement.error --- cogs/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/misc.py b/cogs/misc.py index 745a900..524035f 100644 --- a/cogs/misc.py +++ b/cogs/misc.py @@ -121,7 +121,7 @@ async def announcement(self, ctx, *, statement): icon_url="https://github.com/SFU-Dodo-Club/Kiwi/blob/main/kiwi.png") await ctx.send(embed=embed) - @anonmsg.error + @announcement.error async def announcement_error(self, ctx, error): channel = ctx.guild.get_channel(int(os.environ['CHANNEL'])) await ctx.send(f"Error Occurred. Syntax for this command is: **,anon message**. Your specific error is {error}")