From ef4240dcd70f532ca8477de294394883fb9dfbe1 Mon Sep 17 00:00:00 2001 From: Willy <19799671+Willy-C@users.noreply.github.com> Date: Mon, 27 Feb 2023 06:19:17 -0500 Subject: [PATCH] [commands] Add missing command decorator to example --- 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 e479c4b08..02a9ae670 100644 --- a/docs/ext/commands/commands.rst +++ b/docs/ext/commands/commands.rst @@ -1147,6 +1147,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.')