Skip to content

Commit e621700

Browse files
JustaSqu1dBobDotCom
authored andcommitted
chore(docs): add missing decorator in examples (#1950)
1 parent 5ffbe62 commit e621700

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/ext/commands/commands.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,7 @@ If you want a more robust error system, you can derive from the exception and ra
899899
return True
900900
return commands.check(predicate)
901901
902+
@bot.command()
902903
@guild_only()
903904
async def test(ctx):
904905
await ctx.send('Hey this is not a DM! Nice.')

0 commit comments

Comments
 (0)