Yor.ts home pagelogo
  • Support
  • Documentation
  • Community
  • GitHub
  • Guide
  • Blog
  • Docs
    • Interfaces
    • Classes
      • AutocompleteCommandContext
      • Base
      • Channel
      • CommandContext
      • ComponentContext
      • ContextMenuCommandInteraction
      • Emoji
      • Guild
      • Member
      • MessageContextMenuCommandInteraction
      • ModalContext
      • Role
      • Sticker
      • User
      • UserContextMenuCommandInteraction
      • Webhook
      • WebhookClient
      • YorClient
      • YorClientAPI
      • YorClientError
      • YorInteractionComponent
      • YorInteractionModal
      • YorMessageContextMenuCommand
      • YorSlashCommand
      • YorUserContextMenuCommand
    • Yor.ts
    Guide
    • Cloudflare Workers
    Classes

    Yor.ts | classes/Base

    yor.ts / Exports / Base

    ​
    Class: Base

    ​
    Hierarchy

    • Base

      ↳ Channel

      ↳ Guild

      ↳ Member

      ↳ User

      ↳ Role

      ↳ Emoji

      ↳ Sticker

      ↳ Webhook

    ​
    Table of contents

    ​
    Constructors

    • constructor

    ​
    Properties

    • client

    ​
    Constructors

    ​
    constructor

    • new Base(client): Base

    Initializes a new instance of the constructor.

    ​
    Parameters

    NameTypeDescription
    clientYorClientThe client object.

    ​
    Returns

    Base

    ​
    Defined in

    src/structures/Base.ts:11

    ​
    Properties

    ​
    client

    • client: YorClient

    ​
    Defined in

    src/structures/Base.ts:4

    Was this page helpful?

    Suggest editsRaise issue
    AutocompleteCommandContextChannel
    discordgithub
    Powered by Mintlify
    On this page
    • Class: Base
    • Hierarchy
    • Table of contents
    • Constructors
    • Properties
    • Constructors
    • constructor
    • Parameters
    • Returns
    • Defined in
    • Properties
    • client
    • Defined in
    Assistant
    Responses are generated using AI and may contain mistakes.