Class ApplicationCommandManager<ApplicationCommandScope, PermissionsOptionsExtras, PermissionsGuildType>

Type Parameters

Hierarchy

Constructors

  • Type Parameters

    Parameters

    • client: Client<true>
    • Optional iterable: Iterable<unknown>

    Returns ApplicationCommandManager<ApplicationCommandScope, PermissionsOptionsExtras, PermissionsGuildType>

Properties

client: Client<boolean>
holds: Constructable<ApplicationCommandScope>
permissions: ApplicationCommandPermissionsManager<{
    command?: ApplicationCommandResolvable;
} & PermissionsOptionsExtras, {
    command: ApplicationCommandResolvable;
} & PermissionsOptionsExtras, PermissionsGuildType, null>

Accessors

  • get cache(): Collection<Key, Holds>
  • Returns Collection<Key, Holds>

Methods

  • Parameters

    • __namedParameters: {
          guildId?: string;
          id?: string;
      }
      • Optional guildId?: string
      • Optional id?: string

    Returns string

  • Parameters

    Returns Promise<ApplicationCommandScope>

  • Parameters

    Returns Promise<null | ApplicationCommandScope>

  • Parameters

    Returns Promise<ApplicationCommand<{}>>

  • Parameters

    Returns Promise<Collection<string, ApplicationCommandScope>>

  • Parameters

    Returns Promise<ApplicationCommandScope>

  • Parameters

    Returns Promise<Collection<string, ApplicationCommandScope>>

  • Parameters

    • resolvable: ApplicationCommandScope

    Returns ApplicationCommandScope

  • Parameters

    Returns null | ApplicationCommandScope

  • Parameters

    • resolvable: string | ApplicationCommandScope

    Returns string

  • Parameters

    Returns null | string

  • Returns Collection<string, ApplicationCommandScope>

Generated using TypeDoc