Class GuildOnlyAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Indicates that a global application command cannot be invoked in DMs.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]
public class GuildOnlyAttribute : Attribute
- Inheritance
-
objectAttributeGuildOnlyAttribute