Search Results for

    Show / Hide Table of Contents

    Interface IDiscordGuildApplicationCommandPermissions

    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

    Namespace: Color_Chan.Discord.Core.Common.Models.Guild
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public interface IDiscordGuildApplicationCommandPermissions

    Properties

    | Improve this Doc View Source

    ApplicationId

    The id of the application the command belongs to.

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

    CommandId

    Unique id of the command.

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

    GuildId

    The id of the guild.

    Declaration
    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
    IEnumerable<IDiscordApplicationCommandPermissions> Permissions { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordApplicationCommandPermissions>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX