Class GuildApplicationCommandCountEventArgs
Represents arguments for application command events.
Inheritance
System.Object
System.EventArgs
GuildApplicationCommandCountEventArgs
Namespace: DisCatSharp.EventArgs
Assembly: DisCatSharp.dll
Syntax
public sealed class GuildApplicationCommandCountEventArgs : DiscordEventArgs
Constructors
| Improve this Doc View SourceGuildApplicationCommandCountEventArgs(IServiceProvider)
Initializes a new instance of the GuildApplicationCommandCountEventArgs class.
Declaration
public GuildApplicationCommandCountEventArgs(IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | provider | The provider. |
Properties
| Improve this Doc View SourceGuild
Gets the guild.
Declaration
public DiscordGuild Guild { get; }
Property Value
Type | Description |
---|---|
DiscordGuild |
MessageContextMenuCommands
Gets the count of message context menu commands.
Declaration
public int MessageContextMenuCommands { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SlashCommands
Gets the count of slash commands.
Declaration
public int SlashCommands { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
UserContextMenuCommands
Gets the count of user context menu commands.
Declaration
public int UserContextMenuCommands { get; }
Property Value
Type | Description |
---|---|
System.Int32 |