Search Results for

    Show / Hide Table of Contents

    Class GuildApplicationCommandPermission

    Returned when fetching the permissions for a command in a guild.

    Inheritance
    Object
    GuildApplicationCommandPermission
    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public class GuildApplicationCommandPermission : object

    Properties

    | Improve this Doc View Source

    ApplicationId

    The id of the application the command belongs to.

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

    CommandId

    The id of the command.

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

    GuildId

    The id of the guild.

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

    Permissions

    The permissions for the command in the guild.

    Declaration
    public IReadOnlyCollection<ApplicationCommandPermission> Permissions { get; }
    Property Value
    Type Description
    IReadOnlyCollection<ApplicationCommandPermission>

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2023 3.10.0