Browse Source

Add Nsfw precondition into bundle

pull/988/head
Hsu Still 7 years ago
parent
commit
5b5603c00f
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      docs/guides/commands/commands.md

+ 2
- 1
docs/guides/commands/commands.md View File

@@ -132,7 +132,7 @@ accessing the channel through the [Context] and sending a message.
>Contexts should **NOT** be mixed! You cannot have one module that
>uses `CommandContext` and another that uses `SocketCommandContext`.

[Context]: xref:Discord.Commands.ModuleBase`1#Discord_Commands_ModuleBase_1_Context
[Context]: xref:Discord.Commands.ModuleBase`1.Context
[SocketCommandContext]: xref:Discord.Commands.SocketCommandContext
[ReplyAsync]: xref:Discord.Commands.ModuleBase`1.ReplyAsync*

@@ -264,6 +264,7 @@ usages on their respective API pages.
- @Discord.Commands.RequireOwnerAttribute
- @Discord.Commands.RequireBotPermissionAttribute
- @Discord.Commands.RequireUserPermissionAttribute
- @Discord.Commands.RequireNsfwAttribute

## Custom Preconditions



Loading…
Cancel
Save