gluon
    Preparing search index...

    Class PermissionOverwrite

    Implements

    • PermissionOverwrite
    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Creates the structure for a permission overwrite.

      Parameters

      • client: Client

        The client instance.

      • data:
            | PermissionOverwriteStorageJSON
            | PermissionOverwriteDiscordJSON
            | PermissionOverwriteCacheJSON
            | APIOverwrite

        The raw permission overwrite data.

      Returns PermissionOverwrite

    Accessors

    Methods

    • Returns the JSON representation of this structure.

      Parameters

      • Optionalformat: JsonTypes

        The format to return the data in.

      Returns { allow: string; deny: string; id: string; type: OverwriteType }