Class RequireNsfwAttribute
Defines that usage of this command is restricted to NSFW channels.
Namespace: DSharpPlus.CommandsNext.Attributes
Assembly: cs.temp.dll.dll
Syntax
public sealed class RequireNsfwAttribute : CheckBaseAttribute
Methods
ExecuteCheckAsync(CommandContext, Boolean)
Declaration
public override Task<bool> ExecuteCheckAsync(CommandContext ctx, bool help)
Parameters
Type | Name | Description |
---|---|---|
CommandContext | ctx | |
System.Boolean | help |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |