Skip to content

Commit

Permalink
Merge pull request #67 from SFU-Dodo-Club/dev
Browse files Browse the repository at this point in the history
anonmsg.error -> annoucement.error
  • Loading branch information
sarbjotm authored May 5, 2021
2 parents f7300f1 + 3928049 commit 484d338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 484d338

Please sign in to comment.