From 5b5603c00ff77a4a7169843979d270251d2613eb Mon Sep 17 00:00:00 2001 From: Hsu Still <341464@gmail.com> Date: Fri, 23 Mar 2018 13:39:23 +0800 Subject: [PATCH] Add Nsfw precondition into bundle --- docs/guides/commands/commands.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guides/commands/commands.md b/docs/guides/commands/commands.md index 73dc46d92..2723afefb 100644 --- a/docs/guides/commands/commands.md +++ b/docs/guides/commands/commands.md @@ -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