Class RequireGuildAttribute
- Namespace
- DSharpPlus.CommandsNext.Attributes
- Assembly
- DSharpPlus.CommandsNext.dll
Defines that a command is only usable within a guild.
public sealed class RequireGuildAttribute : CheckBaseAttribute
- Inheritance
-
objectAttributeRequireGuildAttribute
Constructors
- RequireGuildAttribute()
Defines that this command is only usable within a guild.
Methods
- ExecuteCheckAsync(CommandContext, bool)
Asynchronously checks whether this command can be executed within given context.