Class DiscordApplicationCommandPermission
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents a application command permission.
public sealed class DiscordApplicationCommandPermission : SnowflakeObject, IEquatable<DiscordApplicationCommandPermission>
- Inheritance
-
DiscordApplicationCommandPermission
- Implements
- Inherited Members
Constructors
- DiscordApplicationCommandPermission(ulong, ApplicationCommandPermissionType, bool)
Initializes a new instance of the DiscordApplicationCommandPermission class.
Properties
- Id
Gets the id of the role or user.
- Permission
Gets the permission .
- Type
Gets the application command permission type.
Methods
- Equals(DiscordApplicationCommandPermission)
Checks whether this DiscordApplicationCommandPermission object is equal to another object.
- Equals(object)
Determines if a object is equal to the current DiscordApplicationCommand.
- GetHashCode()
Gets the hash code for this DiscordApplicationCommandPermission.
Operators
- operator ==(DiscordApplicationCommandPermission, DiscordApplicationCommandPermission)
Determines if two DiscordApplicationCommandPermission objects are equal.
- operator !=(DiscordApplicationCommandPermission, DiscordApplicationCommandPermission)
Determines if two DiscordApplicationCommandPermission objects are not equal.