seyfert
    Preparing search index...

    Class HttpClient

    Hierarchy

    • BaseClient
      • HttpClient
    Index

    Constructors

    Properties

    applications: ApplicationShorter = ...
    bans: BanShorter = ...
    cache: Cache = ...
    channels: ChannelShorter = ...
    commands: CommandHandler = ...
    components: ComponentHandler = ...
    debugger?: Logger
    emojis: EmojiShorter = ...
    guilds: GuildShorter = ...
    handleCommand: HandleCommand
    interactions: InteractionShorter = ...
    invites: InvitesShorter = ...
    langs: LangsHandler = ...
    logger: Logger = ...
    members: MemberShorter = ...
    messages: MessageShorter = ...
    middlewares?: Record<string, MiddlewareContext>
    options: BaseClientOptions
    reactions: ReactionShorter = ...
    rest: ApiHandler = ...
    roles: RoleShorter = ...
    soundboards: SoundboardShorter = ...
    templates: TemplateShorter = ...
    threads: ThreadShorter = ...
    users: UsersShorter = ...
    voiceStates: VoiceStateShorter = ...
    webhooks: WebhookShorter = ...

    Accessors

    • get applicationId(): string

      Returns string

    • set applicationId(id: string): void

      Parameters

      • id: string

      Returns void

    • get botId(): string

      Returns string

    • set botId(id: string): void

      Parameters

      • id: string

      Returns void

    Methods

    • Parameters

      • ..._options: unknown[]

      Returns Promise<void>

    • Type Parameters

      • T extends InternalRuntimeConfigHTTP | InternalRuntimeConfig = InternalRuntimeConfigHTTP | InternalRuntimeConfig

      Returns Promise<
          { debug: boolean } & Omit<T, "debug" | "locations"> & {
              locations: RCLocations;
          },
      >

    • Parameters

      • Optionaldir: string

      Returns Promise<void>

    • Parameters

      • Optionaldir: string

      Returns Promise<void>

    • Parameters

      • Optionaldir: string

      Returns Promise<void>

    • Parameters

      • rawBody: APIInteraction

        body of interaction

      Returns Promise<
          {
              headers: { "Content-Type"?: string };
              response: APIInteractionResponse | FormData;
          },
      >

    • Parameters

      • ..._packet: unknown[]

      Returns Promise<any>

    • Parameters

      • __namedParameters: ServicesOptions

      Returns void

    • Parameters

      • options: DeepPartial<Omit<StartOptions, "connection" | "eventsDir">> = {}

      Returns Promise<void>

    • Parameters

      • __namedParameters: { applicationId?: string; cachePath?: string } = {}

      Returns Promise<void>

    • Parameters

      • token: string

      Returns string