From ba129e606bfe706866524743f27e2a8a0febd139 Mon Sep 17 00:00:00 2001 From: JustaSqu1d Date: Mon, 27 Feb 2023 19:16:10 -0800 Subject: [PATCH] chore(docs): add missing decorator in examples (#1950) --- docs/ext/commands/commands.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst index 8465ee204e..793c3a64e4 100644 --- a/docs/ext/commands/commands.rst +++ b/docs/ext/commands/commands.rst @@ -899,6 +899,7 @@ If you want a more robust error system, you can derive from the exception and ra return True return commands.check(predicate) + @bot.command() @guild_only() async def test(ctx): await ctx.send('Hey this is not a DM! Nice.')