Search Results for

    Show / Hide Table of Contents

    Class DiscordGuildApplicationCommandPermissions

    Represents a discord Guild Application Command Permissions Structure API model. Docs: https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-guild-application-command-permissions-structure

    Inheritance
    System.Object
    DiscordGuildApplicationCommandPermissions
    Implements
    IDiscordGuildApplicationCommandPermissions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Color_Chan.Discord.Rest.Models.Guild
    Assembly: Color-Chan.Discord.Rest.dll
    Syntax
    public class DiscordGuildApplicationCommandPermissions : IDiscordGuildApplicationCommandPermissions

    Constructors

    | Improve this Doc View Source

    DiscordGuildApplicationCommandPermissions(DiscordGuildApplicationCommandPermissionsData)

    Initializes a new DiscordGuildApplicationCommandPermissions

    Declaration
    public DiscordGuildApplicationCommandPermissions(DiscordGuildApplicationCommandPermissionsData data)
    Parameters
    Type Name Description
    DiscordGuildApplicationCommandPermissionsData data

    The data needed to create the DiscordGuildApplicationCommandPermissions.

    Properties

    | Improve this Doc View Source

    ApplicationId

    The id of the application the command belongs to.

    Declaration
    public ulong ApplicationId { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    CommandId

    Unique id of the command.

    Declaration
    public ulong CommandId { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    GuildId

    The id of the guild.

    Declaration
    public ulong GuildId { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    Permissions

    The permissions for the command in the guild.

    Declaration
    public IEnumerable<IDiscordApplicationCommandPermissions> Permissions { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordApplicationCommandPermissions>

    Implements

    IDiscordGuildApplicationCommandPermissions
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX