Skip to content

Commit

Permalink
chore(docs): add missing decorator in examples (#1950)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustaSqu1d authored Feb 28, 2023
1 parent 13dbcdd commit ba129e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/ext/commands/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit ba129e6

Please sign in to comment.