diff --git a/cogs/testCog.py b/cogs/testCog.py index b81bbda..35b3cb7 100644 --- a/cogs/testCog.py +++ b/cogs/testCog.py @@ -15,6 +15,10 @@ class TestCog(commands.Cog): async def test(self, ctx): pass + @test.error + async def test_handler(self, ctx, error): + raise error + def setup(client): client.add_cog(TestCog(client))