From ebdf088f886d395ea181fd9824baa7597b8ccfb8 Mon Sep 17 00:00:00 2001 From: Dadadah Date: Mon, 10 Aug 2026 23:29:45 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20docs=20from=20@=20stoatchat/ja?= =?UTF-8?q?vascript-client-sdk@ee0a9803c5881ea2ef77261c8fdd5acbc761fc3d=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/hierarchy.js | 2 +- assets/search.js | 2 +- classes/BannedUser.html | 4 +- classes/Bot.html | 38 +++--- classes/BotCollection.html | 54 +++++--- classes/CallStartedSystemMessage.html | 8 +- classes/Channel.html | 128 +++++++++--------- classes/ChannelCollection.html | 52 ++++--- classes/ChannelEditSystemMessage.html | 8 +- classes/ChannelInvite.html | 6 +- .../ChannelOwnershipChangeSystemMessage.html | 10 +- classes/ChannelRenamedSystemMessage.html | 8 +- classes/ChannelUnread.html | 10 +- classes/ChannelUnreadCollection.html | 52 ++++--- classes/ChannelWebhook.html | 22 +-- classes/ChannelWebhookCollection.html | 50 ++++--- classes/ClassCollection.html | 44 +++--- classes/Client.html | 34 ++--- classes/Collection.html | 26 ++-- classes/Emoji.html | 24 ++-- classes/EmojiCollection.html | 50 ++++--- classes/EventClient.html | 16 +-- classes/File.html | 26 ++-- classes/ImageEmbed.html | 8 +- classes/MFA.html | 14 +- classes/MFATicket.html | 20 +-- classes/Message.html | 92 ++++++------- classes/MessageCollection.html | 50 ++++--- classes/MessageEmbed.html | 6 +- classes/MessagePinnedSystemMessage.html | 10 +- classes/MessageWebhook.html | 6 +- classes/PublicBot.html | 8 +- classes/PublicChannelInvite.html | 6 +- classes/Server.html | 120 ++++++++-------- classes/ServerBan.html | 10 +- classes/ServerCollection.html | 52 ++++--- classes/ServerInvite.html | 14 +- classes/ServerMember.html | 58 ++++---- classes/ServerMemberCollection.html | 87 ++++++++---- classes/ServerPublicInvite.html | 10 +- classes/ServerRole.html | 12 +- classes/Session.html | 18 +-- classes/SessionCollection.html | 50 ++++--- classes/StoreCollection.html | 44 +++--- classes/SystemMessage.html | 6 +- classes/TextEmbed.html | 8 +- classes/TextSystemMessage.html | 6 +- classes/UnknownEmbed.html | 6 +- classes/UnknownInvite.html | 6 +- classes/UnknownPublicInvite.html | 6 +- classes/User.html | 70 +++++----- classes/UserCollection.html | 80 ++++++++--- classes/UserModeratedSystemMessage.html | 10 +- classes/UserProfile.html | 8 +- classes/UserSystemMessage.html | 8 +- classes/VideoEmbed.html | 8 +- classes/VoiceParticipant.html | 8 +- classes/WebsiteEmbed.html | 10 +- enums/BotFlags.html | 2 +- enums/ConnectionState.html | 4 +- enums/ServerFlags.html | 4 +- enums/UserBadges.html | 4 +- enums/UserFlags.html | 4 +- hierarchy.html | 2 +- types/ClientOptions.html | 6 +- types/PrivateSession.html | 2 +- types/ProtocolV1.html | 2 +- types/UserLimits.html | 2 +- types/VoiceStatus.html | 2 +- variables/ALLOW_IN_TIMEOUT.html | 2 +- variables/DEFAULT_PERMISSION.html | 2 +- .../DEFAULT_PERMISSION_DIRECT_MESSAGE.html | 2 +- .../DEFAULT_PERMISSION_SAVED_MESSAGES.html | 2 +- variables/DEFAULT_PERMISSION_SERVER.html | 2 +- variables/DEFAULT_PERMISSION_VIEW_ONLY.html | 2 +- variables/Permission.html | 2 +- variables/RE_CHANNELS.html | 2 +- variables/RE_CUSTOM_EMOJI.html | 2 +- variables/RE_MENTIONS.html | 2 +- variables/RE_SPOILER.html | 2 +- variables/U32_MAX.html | 2 +- variables/UserPermission.html | 2 +- 82 files changed, 922 insertions(+), 747 deletions(-) diff --git a/assets/hierarchy.js b/assets/hierarchy.js index 3dfd902c..8803fabe 100644 --- a/assets/hierarchy.js +++ b/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJyVlsFy2yAQht+F87Y1AiHwsZkccsg00zTNoZODbNFYjQQdoSTtZPzuHXCmQcKxlpuw/9W3/NpleSGDtaMj6x+MyqoETjlXwArOKTAmeAGs5ILeARn0z05vx9YaR9YvJMj9g6l7TdbkbFcbo7sL89SOmgB5aE1D1rSQQB6HjqzJtqud0+7TRPhxN/YdgcOfZE1G13zwkR8OPwDZ7tquGbQ5JKgqYFRRdbcHEpZRAjfmwdhns5zARLiQQOAoqiLOtR6e9LCMiXUIinc8olxq5+p7fd5vdHOKEuuyzCzKUgArREWBFVJJYIwWHBhjqgj2ekFq72JCsQ6zbVHF277oMZt+U2EIUsmI8L1ttF0kvKkQBG9cRLjVG9eOy7uIdRgKU0VE+ab/jIuI/yLM+wWP33/1uOnaLbqrj8izypFVyh84iq9C8fllWnwHCLrDYznGAMVXSZ9jkakaQfQna0z860bdv3b0SVgszLK5lKwAJoqyBFbRlQRWqVIBk0xWwKSkZbDfy2a1hk4uESOM8AnFn9vpAc1LxFmGCCEPFecfZilc2kYP9aibrFyORyFM8N8jHajnTYv3/r2YLEuqkrFgiX9IE/qq/RrvyYkwjCmqVGkOX56NHtyu/e3X9zo3l1PhiJx8s6Sj+qo1JsOW96MwGUg6uXvVXXc91kNOqb4Xg6ArKeNC/WzHM9u93g1PISdCDEfJIzdMHCsRL/P4ilY85d2YQddNFnUegmEX4kiv3erNztqHLHgSg6EzGZ/357391eKgMymGxSuRdg+OlogxPCnS6zsON9ciaHQleUK71P0mjzmPwJCLycy+1s611mChMzGGx6iYDUwcbKrEkDifzABcN2AJk+HHabkKwy88xHaOdkAW6Uyaia/EK37SJWdei9z4VJo1+v3JDuHchXAaQjiXIJwPEDoXQj9BqHMINQehEu72+/0/EB9T1A==" \ No newline at end of file +window.hierarchyData = "eJyVlk1T2zAQhv+LzksbfVrKkQwHDkyZUsqhk4MTq8TFkTu2gXaY/PeOFKbIFsSrm5W8m2f1ej/yQrq2HXqy/MGpLiQIqqQBzoSgwLkSDLgUarEG0tmfjd0Odet6snwhQe4fXLm3ZElWu9I521y6p3qwBMhD7SqypEwDeewasiTbpux7238eCT/thn1D4PglWZKhr8585NnxAyDbXd1UnXXHBE0BnBpq1gcg4RglcOseXPvs5hMYCWcSCBxDTcS5sd2T7eYxsQ5B8Y5HlCvb9+W9vdhvbHWKEuuyzGRSKuBMFRQ400YD55QJ4JwbFuz1gtTe2YRiHebaqoivfbnHXPpNhSFooyPC97qy7SzhTYUgeOMiwp3d9PUwf4tYh6FwwyLKN/tnmEX8F2F+X4n4968fN029RXf1O/KscuSF8QPHiEUoPn9Mi+8IQXd4LMcYYMQi6XMsMlUjiH6yxsS//WD3rx19EhYLs2yWmlPgikkBvKCLAnhhpAauuVbAtaYi2O9lk1pDJ5eIEUb4hOLX3dsOzUvEWYYoVRy3iX+YpHDVVrYrB1tl5fJ+FMIE/z7ShXpR1XjvP4rJsqSQ/LgB/EOa0Ffrz3hPToRhTDFSpzl8eXa263f1b3++t7m5nApH5OSbJV3V17VzGbZ8HIXJQNO4X1Zl09wMZZdTqh/FIOhG67hQz9th1Tav/w1PIUdCDMcYkb57HCsRz/PEghqe8m5dZ8sqizoNwbCZeafX7uxm17YPWfAkBkMXLJ73F/v2V42DTqQYlmQy7R4cLRFjeIbpZK3jcFMtgkap5Antyu43ecxpBIbM1Zjc93XrsNCJGMMTspgsTBxsrMSQlIxXM7IbsITR8hO0oHwdoAUd2Tm0HbJIJ9JMvFGveBPvmJXXIi8+lmatfj/ZIcxdCNMQwlyCMB8gdC6EfoJQ5xBqDkIlrA+Hwz8o0VPe" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index dd84e6e6..4110ebe6 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy0vW+T2ziSr/tVbrjPS2+v8IcAOO96ejy7fc70dEe7e/be6Nhw0Cq6imOVWEdSlce7sd/9BgFBBSZ/AJOU5p1dAjOTZCKRyAcA//vNof9yfPOH3//7zeduf/fmD0K6t2/2zWP75g9vvt917f705u2b58PuzR/ebHfN8dge/zX8+duH0+Puzdv41zd/ePPmf95GKZWQFynbfn88HZ63p/5QEvXNuF0i9u2bp+YwGHK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EE285Eb1vz4fuu3+z+2SkePFX/OxvcvI8cP2/F8vzWm7XzKjSi65PT4kgIAREgqrPfiTli/P2/P53aH7/albcN8f/GXn18tuHaS647FZcPe7a/tbff652X7iu/vQ+uahaN90Cwah0PpW7365NEsnh08vl+ZuM8M/NduPzeIp8t5fdTcjfug+L38K3ef7PYW+jtrwU6VDbH7rfTfHPs367nNz+tIdFwS4cF3zet19DFmWIAxW3ClD6GeC37zs28tfuge+Df1ccNtfdQhX3WjEv522x8s3h8O77Uf+23joL9oeDudw0XIT0mKkku9/+Ob/RTWq8Au3qvnNX/7y43+8//6v73/5/ofvfvz1FyCRNuGK/tN3f/7m17/88v6n737+4ft3777/8a/v//b9d//x/se//uX/A2pKzderZCm64Y7effO37/70/ofv3r375t++QxXx2WtuUP6n73/+7ttfoiSe8vE1t9z5dz//DZbWs22Rsv98+6Y97pt/vPnDf7/53Jx83fMPb+TX6mv35u2bj21z2J/f/OG3NzGv756ewtqTfbd78f/8z6HZ35p+HUzfOLT+182bt79t3ir5tVP6P//z7W/xYv+D/0OU8foXf6F48/Y38Vbar62qRheKyYVidKF88/Y3+bauvhZSji6Ukwvl6EL15u1vCl2oJheq0YX6zdvf9Nt68/VGjO9RTy7UowurN29/q5DGanJhNbqwfvP2txpdWE8urEcXmjdvfzPIVDO50IwutG/e/maRRju50I4udG/e/ubQhW5yoRs7QO8PYoMuFVPnEcR7vPsIeDFwoLEHid4vBPQhMXUiMfYi0fuGgH4kpo4kxp4kev8Q0JfE1JnE2JtE7yMC+pOYOpQYe5To/URAnxJTpxJjrxK9rwjzVpuvjanHF08dS4w9S/T+IqBvialzibF3id5nBPQvMXUwMfYw2fuMhB4mpx4mxx4me5+R0MPk1MMkiVE+SOEoBcLU2MNk7zNSva3qr2vtxhdPPUyOPUz2PiM11Dz1MDn2MNn7jIQeJqceJsceJnufkdDD5NTD5NjDZO8z0sCLpx4mxx4me5+R0MPk1MPk2MNk7zMSepicepgce5jqfUZBD1NTD1NjD1O9zyjoYW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eA6cH/TkgL31AO2EQF5P1EiQQdhvgjifiTirULdUQ2xNR0BSHDyG0E4b3Rn1pb6d5OacJr42JLdSAkmk53M2soBZzMCQ65NM5pB053HUHb4iHMtLjf3kfX/qYqgUdGmpCj/vWQIXZxHw1CMEa4DSQNzWwljQIVmnQ8WlEGX+4AbYHwuM1xdc4LwxYQ1SJY9J2mIw644pV5Kfu3v14O/1rCzG+om+iquY+lwZ1c3xbLVZ19/lgVDdzGeJB8T6/zkHtl4cpcJtb3OMeYKVOEDPF4jN8oB33M9hLJP5G73OmUGPOQdSHbrNKU3qdD3Vi370wmZX57wqWi1pME7tfn9P8GW4At+Jpb4dJE9DNsEKxVNmRPk/M4oUWS0+L3a/DCtjBFtshTrBDr7rHybnHotYDpwfOgBVwEH309+v5cnrOU2O5/vgiUMIecGyGqINJqlCWv1RVtJchFAaNAI890mM/8C6KvcS7sYxb9PY0/11qwRlppQqYeNHoq8TgzMc3gkOyjnmhiMtu8E8NXo9G5PbDBeTD250xYos+3gC18b927zMyQhno6DBL19WLLEKAy2gJPvR94fulBAKvUihkmvhH1CSL2WrhEwqmeJbNNKJ8IEA95LqfDufmpyM65AJ02hBkhgPx7i7OykRIr0dh3Yg0Yfiog8FefOIY1F0vwBUysFlZ3arrWUbtGr24jlFoKQ6mrtJv1SfPmY0zoljq/XS+p2MauLKCMKFFvd5hc+mw5HZYqTqcWHrkBPVI4uuB0yOOesBmN4CKG8QIjUC/vUy2guPgT5HAf5+eR5uDxeWIj9EnohprgytUltzzEFmyoEcvxrfWRj71TUz9CnClaAiucQYxYTRgFX5cNestB1EXs2UAbblOT9P1lM5fYg+iyK+kgJZ+M+GfWom/AeZt5YrrzCpKBWKOJ+INWzE1pzRWkp1NTlS//xz/CjxO4SVk6YB4IPk5PVvDkOO1z8OA45Wu2/fff7tO13Fz+v3x5/dfv/4Dl6Cffw=="; \ No newline at end of file diff --git a/classes/BannedUser.html b/classes/BannedUser.html index 78822e1c..4c6d6284 100644 --- a/classes/BannedUser.html +++ b/classes/BannedUser.html @@ -1,5 +1,5 @@ BannedUser | stoat.js

Class BannedUser

Banned User

-

Constructors

Constructors

Properties

avatar? discriminator id @@ -11,4 +11,4 @@
  • Optionalavatar?:
        | null
        | {
            _id: string;
            content_type: string;
            deleted?: null
            | boolean;
            filename: string;
            message_id?: null | string;
            metadata:
                | { type: "File" }
                | { type: "Text" }
                | {
                    animated?: null | boolean;
                    height: number;
                    thumbhash?: null | number[];
                    type: "Image";
                    width: number;
                }
                | { height: number; type: "Video"; width: number }
                | { type: "Audio" };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }

    Avatar of the banned user

  • discriminator: string

    Discriminator of the banned user

  • username: string

    Username of the banned user

    -
  • Returns BannedUser

    Properties

    avatar?: File
    discriminator: string
    id: string
    username: string
    +

    Returns BannedUser

    Properties

    avatar?: File
    discriminator: string
    id: string
    username: string
    diff --git a/classes/Bot.html b/classes/Bot.html index 91006cce..13f0d434 100644 --- a/classes/Bot.html +++ b/classes/Bot.html @@ -1,5 +1,5 @@ Bot | stoat.js

    Class Bot

    Bot Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    $exists analytics @@ -21,22 +21,22 @@

    Constructors

    Properties

    id: string

    Accessors

    • get analytics(): boolean

      Whether this bot has analytics enabled

      -

      Returns boolean

    • get createdAt(): Date

      Time when this user created their account

      -

      Returns Date

    • get discoverable(): boolean

      Whether this bot shows up on Discover

      -

      Returns boolean

    • get interactionsUrl(): undefined | string

      Interactions URL

      -

      Returns undefined | string

    • get privacyPolicyUrl(): undefined | string

      Link to privacy policy

      -

      Returns undefined | string

    • get public(): boolean

      Whether this bot can be invited by anyone

      -

      Returns boolean

    • get termsOfServiceUrl(): undefined | string

      Link to terms of service

      -

      Returns undefined | string

    Methods

    • Edit a bot

      +

    Returns Bot

    Properties

    id: string

    Accessors

    • get analytics(): boolean

      Whether this bot has analytics enabled

      +

      Returns boolean

    • get createdAt(): Date

      Time when this user created their account

      +

      Returns Date

    • get discoverable(): boolean

      Whether this bot shows up on Discover

      +

      Returns boolean

    • get interactionsUrl(): undefined | string

      Interactions URL

      +

      Returns undefined | string

    • get privacyPolicyUrl(): undefined | string

      Link to privacy policy

      +

      Returns undefined | string

    • get public(): boolean

      Whether this bot can be invited by anyone

      +

      Returns boolean

    • get termsOfServiceUrl(): undefined | string

      Link to terms of service

      +

      Returns undefined | string

    Methods

    • Edit a bot

      Parameters

      • data: {
            analytics?: null | boolean;
            interactions_url?: null | string;
            name?: null | string;
            public?: null | boolean;
            remove?: ("Token" | "InteractionsURL")[];
        }

        Changes

        • Optionalanalytics?: null | boolean

          Whether analytics should be gathered for this bot

          Must be enabled in order to show up on Revolt Discover.

          @@ -47,6 +47,6 @@
          []
           
          -

      Returns Promise<void>

    • Convert to string

      +

    Returns Promise<void>

    +
    diff --git a/classes/BotCollection.html b/classes/BotCollection.html index 705005c6..e74acfac 100644 --- a/classes/BotCollection.html +++ b/classes/BotCollection.html @@ -1,9 +1,10 @@ BotCollection | stoat.js

    Class BotCollection

    Collection of Bots

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Methods

    add +create createBot delete entries @@ -16,6 +17,7 @@ get getOrCreate has +hydrate isPartial keys map @@ -24,38 +26,42 @@ values

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedBot
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedBot>>

    Methods

    • Create a new instance of an object

      +

    Returns BotCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedBot
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedBot>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: Bot

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Create a bot

      +

    Returns void

    Returns void

    Returns Bot[]

    Returns undefined | Bot

    Returns O[]

    +
    diff --git a/classes/CallStartedSystemMessage.html b/classes/CallStartedSystemMessage.html index d01ce57d..842cc91a 100644 --- a/classes/CallStartedSystemMessage.html +++ b/classes/CallStartedSystemMessage.html @@ -1,5 +1,5 @@ CallStartedSystemMessage | stoat.js

    Class CallStartedSystemMessage

    Call Started System Message

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    byId client? finishedAt @@ -36,8 +36,8 @@
  • Optionaluser?:
        | null
        | {
            _id: string;
            avatar?: | null
            | {
                _id: string;
                content_type: string;
                deleted?: null
                | boolean;
                filename: string;
                message_id?: null | string;
                metadata:
                    | { type: "File" }
                    | { type: "Text" }
                    | {
                        animated?: null | boolean;
                        height: number;
                        thumbhash?: null | number[];
                        type: "Image";
                        width: number;
                    }
                    | { height: number; type: "Video"; width: number }
                    | { type: "Audio" };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            badges?: number;
            bot?: null
            | { owner: string };
            discriminator: string;
            display_name?: null | string;
            flags?: number;
            online: boolean;
            privileged?: boolean;
            pronouns?: null | string;
            relations?: {
                _id: string;
                status:
                    | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
            }[];
            relationship: | "User"
            | "None"
            | "Friend"
            | "Outgoing"
            | "Incoming"
            | "Blocked"
            | "BlockedOther";
            status?: | null
            | {
                presence?: null
                | "Online"
                | "Idle"
                | "Focus"
                | "Busy"
                | "Invisible";
                text?: null | string;
            };
            username: string;
        }

    The user that sent this message

  • Optionalwebhook?: null | { avatar?: null | string; name: string }

    The webhook that sent this message

  • systemMessage: (
        | { content: string; type: "text" }
        | { by: string; id: string; type: "user_added" }
        | { by: string; id: string; type: "user_remove" }
        | { id: string; type: "user_joined" }
        | { id: string; type: "user_left" }
        | { id: string; type: "user_kicked" }
        | { id: string; type: "user_banned" }
        | { by: string; name: string; type: "channel_renamed" }
        | { by: string; type: "channel_description_changed" }
        | { by: string; type: "channel_icon_changed" }
        | { from: string; to: string; type: "channel_ownership_changed" }
        | { by: string; id: string; type: "message_pinned" }
        | { by: string; id: string; type: "message_unpinned" }
        | { by: string; finished_at?: null | string; type: "call_started" }
    ) & { type: "call_started" }

    System Message

    -
  • Returns CallStartedSystemMessage

    Properties

    byId: string
    client?: Client
    finishedAt: null | Date
    startedAt: Date
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      +

    Returns CallStartedSystemMessage

    Properties

    byId: string
    client?: Client
    finishedAt: null | Date
    startedAt: Date
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      Parameters

      • client: Client

        Client

      • parent: {
            _id: string;
            attachments?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: null | boolean;
                                        height: number;
                                        thumbhash?: null | (...)[];
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        }
        • _id: string

          Unique Id

        • Optionalattachments?:
              | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[]

          Array of attachments

          @@ -65,4 +65,4 @@
        • Optionaluser?:
              | null
              | {
                  _id: string;
                  avatar?: | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
                  badges?: number;
                  bot?: null
                  | { owner: string };
                  discriminator: string;
                  display_name?: null | string;
                  flags?: number;
                  online: boolean;
                  privileged?: boolean;
                  pronouns?: null | string;
                  relations?: {
                      _id: string;
                      status:
                          | "User"
                          | "None"
                          | "Friend"
                          | "Outgoing"
                          | "Incoming"
                          | "Blocked"
                          | "BlockedOther";
                  }[];
                  relationship: | "User"
                  | "None"
                  | "Friend"
                  | "Outgoing"
                  | "Incoming"
                  | "Blocked"
                  | "BlockedOther";
                  status?: | null
                  | {
                      presence?: null
                      | "Online"
                      | "Idle"
                      | "Focus"
                      | "Busy"
                      | "Invisible";
                      text?: null | string;
                  };
                  username: string;
              }

          The user that sent this message

        • Optionalwebhook?: null | { avatar?: null | string; name: string }

          The webhook that sent this message

      • message:
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }

      Returns SystemMessage

      System Message

      -
    +
    diff --git a/classes/Channel.html b/classes/Channel.html index 6aefc0e2..111ba957 100644 --- a/classes/Channel.html +++ b/classes/Channel.html @@ -1,5 +1,5 @@ Channel | stoat.js

    Class Channel

    Channel Class

    -

    Constructors

    Constructors

    Properties

    _typingTimers id userSlowmode @@ -70,70 +70,70 @@

    Constructors

    Properties

    _typingTimers: Record<string, number> = {}
    id: string
    userSlowmode: Accessor<undefined | UserSlowmodes>
    voiceParticipants: ReactiveMap<string, VoiceParticipant> = ...

    Accessors

    • get animatedIconURL(): undefined | string

      URL to the animated channel icon

      -

      Returns undefined | string

    • get defaultPermissions(): undefined | { a: bigint; d: bigint }

      Default permissions for this server channel

      -

      Returns undefined | { a: bigint; d: bigint }

    • get isVoice(): boolean

      Whether this is a 'voice chats v2' channel

      +

    Returns Channel

    Properties

    _typingTimers: Record<string, number> = {}
    id: string
    userSlowmode: Accessor<undefined | UserSlowmodes>
    voiceParticipants: ReactiveMap<string, VoiceParticipant> = ...

    Accessors

    • get animatedIconURL(): undefined | string

      URL to the animated channel icon

      +

      Returns undefined | string

    • get defaultPermissions(): undefined | { a: bigint; d: bigint }

      Default permissions for this server channel

      +

      Returns undefined | { a: bigint; d: bigint }

    • get isVoice(): boolean

      Whether this is a 'voice chats v2' channel

      NB. subject to change as vc(2) goes to production

      -

      Returns boolean

    • get lastMessageAt(): undefined | Date

      Time when the last message was sent

      -

      Returns undefined | Date

    • get lastMessageId(): undefined | string

      ID of the last message sent in this channel

      -

      Returns undefined | string

    • get mentions(): undefined | ReactiveSet<string>

      Get mentions in this channel for user.

      -

      Returns undefined | ReactiveSet<string>

    • get permission(): bigint

      Permission the currently authenticated user has against this channel

      -

      Returns bigint

    • get permissions(): undefined | bigint

      Permissions allowed for users in this group

      -

      Returns undefined | bigint

    • get potentiallyRestrictedChannel(): undefined | string | boolean

      Whether this channel may be hidden to some users

      -

      Returns undefined | string | boolean

    • get recipientIds(): ReactiveSet<string>

      User ids of recipients of the group

      -

      Returns ReactiveSet<string>

    • get rolePermissions(): undefined | Record<string, { a: bigint; d: bigint }>

      Role permissions for this server channel

      -

      Returns undefined | Record<string, { a: bigint; d: bigint }>

    • get type(): "SavedMessages" | "DirectMessage" | "Group" | "TextChannel"

      Channel type

      -

      Returns "SavedMessages" | "DirectMessage" | "Group" | "TextChannel"

    • get typingIds(): ReactiveSet<string>

      User ids of people currently typing in channel

      -

      Returns ReactiveSet<string>

    • get updatedAt(): Date

      Time when the channel was last updated (either created or a message was sent)

      -

      Returns Date

    • get lastMessageAt(): undefined | Date

      Time when the last message was sent

      +

      Returns undefined | Date

    • get lastMessageId(): undefined | string

      ID of the last message sent in this channel

      +

      Returns undefined | string

    • get mentions(): undefined | ReactiveSet<string>

      Get mentions in this channel for user.

      +

      Returns undefined | ReactiveSet<string>

    • get permission(): bigint

      Permission the currently authenticated user has against this channel

      +

      Returns bigint

    • get permissions(): undefined | bigint

      Permissions allowed for users in this group

      +

      Returns undefined | bigint

    • get potentiallyRestrictedChannel(): undefined | string | boolean

      Whether this channel may be hidden to some users

      +

      Returns undefined | string | boolean

    • get recipientIds(): ReactiveSet<string>

      User ids of recipients of the group

      +

      Returns ReactiveSet<string>

    • get rolePermissions(): undefined | Record<string, { a: bigint; d: bigint }>

      Role permissions for this server channel

      +

      Returns undefined | Record<string, { a: bigint; d: bigint }>

    • get type(): "SavedMessages" | "DirectMessage" | "Group" | "TextChannel"

      Channel type

      +

      Returns "SavedMessages" | "DirectMessage" | "Group" | "TextChannel"

    • get typingIds(): ReactiveSet<string>

      User ids of people currently typing in channel

      +

      Returns ReactiveSet<string>

    • get updatedAt(): Date

      Time when the channel was last updated (either created or a message was sent)

      +

      Returns Date

    • get voiceStatus(): VoiceStatus

      The voice status of a channel. Screenshare supersedes video, video supersedes voice, and voice supersedes none. This getter takes the highest priority status from all participants in the channel.

      -

      Returns VoiceStatus

    Methods

    • Mark a channel as read

      +

      Returns VoiceStatus

    Methods

    • Mark a channel as read

      Parameters

      • Optionalmessage: string | Message

        Last read message or its ID

      • OptionalskipRateLimiter: boolean

        Whether to skip the internal rate limiter

      • OptionalskipRequest: boolean

        For internal updates only

      • OptionalskipNextMarking: boolean

        For internal usage only

      Returns Promise<void>

      SavedMessages, DirectMessage, Group, TextChannel

      -

    Returns Promise<void>

    Returns Promise<
        | { _id: string; channel_type: "SavedMessages"; user: string }
        | {
            _id: string;
            active: boolean;
            channel_type: "DirectMessage";
            last_message_id?: null | string;
            recipients: string[];
        }
        | {
            _id: string;
            channel_type: "Group";
            description?: null
            | string;
            icon?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                };
            last_message_id?: null
            | string;
            name: string;
            nsfw?: boolean;
            owner: string;
            permissions?: null | number;
            recipients: string[];
        }
        | {
            _id: string;
            channel_type: "TextChannel";
            default_permissions?: null
            | { a: number; d: number };
            description?: null | string;
            icon?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                };
            last_message_id?: null
            | string;
            name: string;
            nsfw?: boolean;
            role_permissions?: { [key: string]: { a: number; d: number } };
            server: string;
            slowmode?: null | number;
            voice?: null | { max_users?: null | number };
        },
    >

    Group, TextChannel

    -
    +
    diff --git a/classes/ChannelCollection.html b/classes/ChannelCollection.html index 3734771d..66cc2228 100644 --- a/classes/ChannelCollection.html +++ b/classes/ChannelCollection.html @@ -1,9 +1,10 @@ ChannelCollection | stoat.js

    Class ChannelCollection

    Collection of Channels

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedChannel
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedChannel>>

    Methods

    • Create a new instance of an object

      +

    Returns ChannelCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedChannel
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedChannel>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: Channel

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Create a group

      +

    Returns void

    Returns void

    Returns Channel[]

    Returns undefined | Channel

    Returns Channel

    Returns undefined | Channel

    Returns O[]

    +
    diff --git a/classes/ChannelEditSystemMessage.html b/classes/ChannelEditSystemMessage.html index 89e2f358..7a641374 100644 --- a/classes/ChannelEditSystemMessage.html +++ b/classes/ChannelEditSystemMessage.html @@ -1,5 +1,5 @@ ChannelEditSystemMessage | stoat.js

    Class ChannelEditSystemMessage

    Channel Edit System Message

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    byId client? type @@ -8,8 +8,8 @@

    Constructors

    • Construct System Message

      Parameters

      • client: Client

        Client

      • systemMessage: (
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }
        ) & {
            type:
                | "channel_renamed"
                | "channel_description_changed"
                | "channel_icon_changed";
        }

        System Message

        -

      Returns ChannelEditSystemMessage

    Properties

    byId: string
    client?: Client
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      +

    Returns ChannelEditSystemMessage

    Properties

    byId: string
    client?: Client
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      Parameters

      • client: Client

        Client

      • parent: {
            _id: string;
            attachments?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: null | boolean;
                                        height: number;
                                        thumbhash?: null | (...)[];
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        }
        • _id: string

          Unique Id

        • Optionalattachments?:
              | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[]

          Array of attachments

          @@ -37,4 +37,4 @@
        • Optionaluser?:
              | null
              | {
                  _id: string;
                  avatar?: | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
                  badges?: number;
                  bot?: null
                  | { owner: string };
                  discriminator: string;
                  display_name?: null | string;
                  flags?: number;
                  online: boolean;
                  privileged?: boolean;
                  pronouns?: null | string;
                  relations?: {
                      _id: string;
                      status:
                          | "User"
                          | "None"
                          | "Friend"
                          | "Outgoing"
                          | "Incoming"
                          | "Blocked"
                          | "BlockedOther";
                  }[];
                  relationship: | "User"
                  | "None"
                  | "Friend"
                  | "Outgoing"
                  | "Incoming"
                  | "Blocked"
                  | "BlockedOther";
                  status?: | null
                  | {
                      presence?: null
                      | "Online"
                      | "Idle"
                      | "Focus"
                      | "Busy"
                      | "Invisible";
                      text?: null | string;
                  };
                  username: string;
              }

          The user that sent this message

        • Optionalwebhook?: null | { avatar?: null | string; name: string }

          The webhook that sent this message

      • message:
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }

      Returns SystemMessage

      System Message

      -
    +
    diff --git a/classes/ChannelInvite.html b/classes/ChannelInvite.html index a3437b26..34c2cf73 100644 --- a/classes/ChannelInvite.html +++ b/classes/ChannelInvite.html @@ -1,12 +1,12 @@ ChannelInvite | stoat.js

    Class ChannelInviteAbstract

    Channel Invite

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Constructors

    Properties

    client?: Client
    type: "Group" | "Server" | "None"

    Methods

    • Create an Invite from an API Invite

      +

    Returns ChannelInvite

    Properties

    client?: Client
    type: "Group" | "Server" | "None"

    Methods

    • Create an Invite from an API Invite

      Parameters

      • client: Client

        Client

      • invite:
            | {
                _id: string;
                channel: string;
                creator: string;
                server: string;
                type: "Server";
            }
            | { _id: string; channel: string; creator: string; type: "Group" }

        Data

        • {
              _id: string;
              channel: string;
              creator: string;
              server: string;
              type: "Server";
          }
          • _id: string

            Invite code

            @@ -17,4 +17,4 @@
          • channel: string

            Id of the group channel this invite points to

          • creator: string

            Id of user who created this invite

          • type: "Group"

      Returns ChannelInvite

      Invite

      -
    +
    diff --git a/classes/ChannelOwnershipChangeSystemMessage.html b/classes/ChannelOwnershipChangeSystemMessage.html index 979c12da..ab20f179 100644 --- a/classes/ChannelOwnershipChangeSystemMessage.html +++ b/classes/ChannelOwnershipChangeSystemMessage.html @@ -1,5 +1,5 @@ ChannelOwnershipChangeSystemMessage | stoat.js

    Class ChannelOwnershipChangeSystemMessage

    Channel Ownership Change System Message

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client? fromId toId @@ -10,9 +10,9 @@

    Constructors

    • Construct System Message

      Parameters

      • client: Client

        Client

      • systemMessage: (
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }
        ) & { type: "channel_ownership_changed" }

        System Message

        -

      Returns ChannelOwnershipChangeSystemMessage

    Properties

    client?: Client
    fromId: string
    toId: string
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      +

    Returns ChannelOwnershipChangeSystemMessage

    Properties

    client?: Client
    fromId: string
    toId: string
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      Parameters

      • client: Client

        Client

      • parent: {
            _id: string;
            attachments?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: null | boolean;
                                        height: number;
                                        thumbhash?: null | (...)[];
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        }
        • _id: string

          Unique Id

        • Optionalattachments?:
              | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[]

          Array of attachments

          @@ -40,4 +40,4 @@
        • Optionaluser?:
              | null
              | {
                  _id: string;
                  avatar?: | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
                  badges?: number;
                  bot?: null
                  | { owner: string };
                  discriminator: string;
                  display_name?: null | string;
                  flags?: number;
                  online: boolean;
                  privileged?: boolean;
                  pronouns?: null | string;
                  relations?: {
                      _id: string;
                      status:
                          | "User"
                          | "None"
                          | "Friend"
                          | "Outgoing"
                          | "Incoming"
                          | "Blocked"
                          | "BlockedOther";
                  }[];
                  relationship: | "User"
                  | "None"
                  | "Friend"
                  | "Outgoing"
                  | "Incoming"
                  | "Blocked"
                  | "BlockedOther";
                  status?: | null
                  | {
                      presence?: null
                      | "Online"
                      | "Idle"
                      | "Focus"
                      | "Busy"
                      | "Invisible";
                      text?: null | string;
                  };
                  username: string;
              }

          The user that sent this message

        • Optionalwebhook?: null | { avatar?: null | string; name: string }

          The webhook that sent this message

      • message:
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }

      Returns SystemMessage

      System Message

      -
    +
    diff --git a/classes/ChannelRenamedSystemMessage.html b/classes/ChannelRenamedSystemMessage.html index a2611be3..4818d8b5 100644 --- a/classes/ChannelRenamedSystemMessage.html +++ b/classes/ChannelRenamedSystemMessage.html @@ -1,5 +1,5 @@ ChannelRenamedSystemMessage | stoat.js

    Class ChannelRenamedSystemMessage

    Channel Renamed System Message

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    byId client? name @@ -9,8 +9,8 @@

    Constructors

    • Construct System Message

      Parameters

      • client: Client

        Client

      • systemMessage: (
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }
        ) & { type: "channel_renamed" }

        System Message

        -

      Returns ChannelRenamedSystemMessage

    Properties

    byId: string
    client?: Client
    name: string
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      +

    Returns ChannelRenamedSystemMessage

    Properties

    byId: string
    client?: Client
    name: string
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      Parameters

      • client: Client

        Client

      • parent: {
            _id: string;
            attachments?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: null | boolean;
                                        height: number;
                                        thumbhash?: null | (...)[];
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        }
        • _id: string

          Unique Id

        • Optionalattachments?:
              | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[]

          Array of attachments

          @@ -38,4 +38,4 @@
        • Optionaluser?:
              | null
              | {
                  _id: string;
                  avatar?: | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
                  badges?: number;
                  bot?: null
                  | { owner: string };
                  discriminator: string;
                  display_name?: null | string;
                  flags?: number;
                  online: boolean;
                  privileged?: boolean;
                  pronouns?: null | string;
                  relations?: {
                      _id: string;
                      status:
                          | "User"
                          | "None"
                          | "Friend"
                          | "Outgoing"
                          | "Incoming"
                          | "Blocked"
                          | "BlockedOther";
                  }[];
                  relationship: | "User"
                  | "None"
                  | "Friend"
                  | "Outgoing"
                  | "Incoming"
                  | "Blocked"
                  | "BlockedOther";
                  status?: | null
                  | {
                      presence?: null
                      | "Online"
                      | "Idle"
                      | "Focus"
                      | "Busy"
                      | "Invisible";
                      text?: null | string;
                  };
                  username: string;
              }

          The user that sent this message

        • Optionalwebhook?: null | { avatar?: null | string; name: string }

          The webhook that sent this message

      • message:
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }

      Returns SystemMessage

      System Message

      -
    +
    diff --git a/classes/ChannelUnread.html b/classes/ChannelUnread.html index 01b41872..d012cc06 100644 --- a/classes/ChannelUnread.html +++ b/classes/ChannelUnread.html @@ -1,5 +1,5 @@ ChannelUnread | stoat.js

    Class ChannelUnread

    Channel Unread Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    $exists lastMessageId @@ -7,7 +7,7 @@

    Constructors

    Properties

    id: string

    Accessors

    • get messageMentionIds(): ReactiveSet<string>

      List of message IDs that we were mentioned in

      -

      Returns ReactiveSet<string>

    +

    Returns ChannelUnread

    Properties

    id: string

    Accessors

    • get messageMentionIds(): ReactiveSet<string>

      List of message IDs that we were mentioned in

      +

      Returns ReactiveSet<string>

    diff --git a/classes/ChannelUnreadCollection.html b/classes/ChannelUnreadCollection.html index 818d4377..de72fdd3 100644 --- a/classes/ChannelUnreadCollection.html +++ b/classes/ChannelUnreadCollection.html @@ -1,9 +1,10 @@ ChannelUnreadCollection | stoat.js

    Class ChannelUnreadCollection

    Collection of Channel Unreads

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Methods

    add +create delete entries filter @@ -13,6 +14,7 @@ get getOrCreate has +hydrate isPartial keys map @@ -23,30 +25,34 @@ values

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedChannelUnread
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedChannelUnread>>

    Methods

    • Create a new instance of an object

      +

    Returns ChannelUnreadCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedChannelUnread
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedChannelUnread>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: ChannelUnread

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Delete an object

      +

    Returns void

    Returns void

    Returns ChannelUnread[]

    Returns undefined | ChannelUnread

    Returns ChannelUnread

    Returns ChannelUnread

    Returns O[]

    +
    diff --git a/classes/ChannelWebhook.html b/classes/ChannelWebhook.html index 83aed7b5..e20ee0d8 100644 --- a/classes/ChannelWebhook.html +++ b/classes/ChannelWebhook.html @@ -1,5 +1,5 @@ ChannelWebhook | stoat.js

    Class ChannelWebhook

    Channel Webhook Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    $exists avatar @@ -13,15 +13,15 @@

    Constructors

    Properties

    id: string

    Accessors

    Methods

    • Edit this webhook

      +

    Returns ChannelWebhook

    Properties

    id: string

    Accessors

    Methods

    • Edit this webhook

      Parameters

      • data: {
            avatar?: null | string;
            name?: null | string;
            permissions?: null | number;
            remove?: "Avatar"[];
        }
        • Optionalavatar?: null | string

          Avatar ID

        • Optionalname?: null | string

          Webhook name

        • Optionalpermissions?: null | number

          Format: uint64

          @@ -30,4 +30,4 @@
          []
           
          -

    Returns Promise<void>

    +

    Returns Promise<void>

    diff --git a/classes/ChannelWebhookCollection.html b/classes/ChannelWebhookCollection.html index 8bba750d..e50c2b89 100644 --- a/classes/ChannelWebhookCollection.html +++ b/classes/ChannelWebhookCollection.html @@ -1,9 +1,10 @@ ChannelWebhookCollection | stoat.js

    Class ChannelWebhookCollection

    Collection of Channel Webhooks

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Methods

    add +create delete entries fetch @@ -14,6 +15,7 @@ get getOrCreate has +hydrate isPartial keys map @@ -22,34 +24,38 @@ values

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedChannelWebhook
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedChannelWebhook>>

    Methods

    • Create a new instance of an object

      +

    Returns ChannelWebhookCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedChannelWebhook
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedChannelWebhook>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: ChannelWebhook

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Delete an object

      +

    Returns void

    Returns void

    Returns ChannelWebhook[]

    Returns undefined | ChannelWebhook

    Returns ChannelWebhook

    Returns O[]

    +
    diff --git a/classes/ClassCollection.html b/classes/ClassCollection.html index 33e0f083..a92351ea 100644 --- a/classes/ClassCollection.html +++ b/classes/ClassCollection.html @@ -1,9 +1,10 @@ ClassCollection | stoat.js

    Class ClassCollection<T, V>

    Generic class collection backed by store

    -

    Type Parameters

    • T
    • V

    Hierarchy (View Summary)

    Constructors

    Type Parameters

    • T
    • V

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Methods

    add +create delete entries filter @@ -11,6 +12,7 @@ forEach get has +hydrate isPartial keys map @@ -19,40 +21,48 @@ values

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => V
    updateUnderlyingObject: SetStoreFunction<Record<string, V>>

    Methods

    • Create a new instance of an object

      +

    Returns ClassCollection<T, V>

    Properties

    client: Client
    getUnderlyingObject: (id: string) => V
    updateUnderlyingObject: SetStoreFunction<Record<string, V>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: T

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Delete an object

      +

    Returns void

    Returns void

    Returns T[]

    Returns undefined | T

    Returns O[]

    +
    diff --git a/classes/Client.html b/classes/Client.html index a41a2735..48780e27 100644 --- a/classes/Client.html +++ b/classes/Client.html @@ -1,5 +1,5 @@ Client | stoat.js

    Class Client

    Stoat.js Clients

    -

    Hierarchy

    • AsyncEventEmitter<Events>
      • Client

    Constructors

    Hierarchy

    • AsyncEventEmitter<Events>
      • Client

    Constructors

    Properties

    [brandSymbol] account api @@ -135,8 +135,8 @@
  • revolt: string

    Revolt API Version

  • vapid: string

    Web Push VAPID public key

  • ws: string

    WebSocket URL

    -
  • Returns Client

    Properties

    "[brandSymbol]": Events

    This field doesn't actually exist, it's just a way to make TS properly infer the events from classes that extend AsyncEventEmitter

    -
    account: AccountCollection
    api: API.API
    channelUnreads: ChannelUnreadCollection
    channelWebhooks: ChannelWebhookCollection
    configuration:
        | undefined
        | {
            app: string;
            build: {
                commit_sha: string;
                commit_timestamp: string;
                origin_url: string;
                semver: string;
                timestamp: string;
            };
            features: {
                autumn: { enabled: boolean; url: string };
                captcha: { enabled: boolean; key: string };
                email: boolean;
                invite_only: boolean;
                january: { enabled: boolean; url: string };
                legal_links: {
                    guidelines: string;
                    privacy_policy: string;
                    terms_of_service: string;
                };
                limits: {
                    default: {
                        bots: number;
                        file_upload_size_limits: { [key: string]: number };
                        message_attachments: number;
                        message_length: number;
                        outgoing_friend_requests: number;
                        servers: number;
                        video: boolean;
                        video_aspect_ratio: number[];
                        video_resolution: number[];
                        voice_quality: number;
                    };
                    global: {
                        body_limit_size: number;
                        group_size: number;
                        message_embeds: number;
                        message_reactions: number;
                        message_replies: number;
                        new_user_hours: number;
                        restrict_server_creation: string[];
                        server_channels: number;
                        server_emoji: number;
                        server_roles: number;
                    };
                    new_user: {
                        bots: number;
                        file_upload_size_limits: { [key: string]: number };
                        message_attachments: number;
                        message_length: number;
                        outgoing_friend_requests: number;
                        servers: number;
                        video: boolean;
                        video_aspect_ratio: number[];
                        video_resolution: number[];
                        voice_quality: number;
                    };
                };
                livekit: {
                    enabled: boolean;
                    nodes: { lat: number; lon: number; name: string; public_url: string }[];
                };
            };
            revolt: string;
            vapid: string;
            ws: string;
        }

    Type declaration

    • undefined
    • {
          app: string;
          build: {
              commit_sha: string;
              commit_timestamp: string;
              origin_url: string;
              semver: string;
              timestamp: string;
          };
          features: {
              autumn: { enabled: boolean; url: string };
              captcha: { enabled: boolean; key: string };
              email: boolean;
              invite_only: boolean;
              january: { enabled: boolean; url: string };
              legal_links: {
                  guidelines: string;
                  privacy_policy: string;
                  terms_of_service: string;
              };
              limits: {
                  default: {
                      bots: number;
                      file_upload_size_limits: { [key: string]: number };
                      message_attachments: number;
                      message_length: number;
                      outgoing_friend_requests: number;
                      servers: number;
                      video: boolean;
                      video_aspect_ratio: number[];
                      video_resolution: number[];
                      voice_quality: number;
                  };
                  global: {
                      body_limit_size: number;
                      group_size: number;
                      message_embeds: number;
                      message_reactions: number;
                      message_replies: number;
                      new_user_hours: number;
                      restrict_server_creation: string[];
                      server_channels: number;
                      server_emoji: number;
                      server_roles: number;
                  };
                  new_user: {
                      bots: number;
                      file_upload_size_limits: { [key: string]: number };
                      message_attachments: number;
                      message_length: number;
                      outgoing_friend_requests: number;
                      servers: number;
                      video: boolean;
                      video_aspect_ratio: number[];
                      video_resolution: number[];
                      voice_quality: number;
                  };
              };
              livekit: {
                  enabled: boolean;
                  nodes: { lat: number; lon: number; name: string; public_url: string }[];
              };
          };
          revolt: string;
          vapid: string;
          ws: string;
      }
      • app: string

        URL pointing to the client serving this node

        +

    Returns Client

    Properties

    "[brandSymbol]": Events

    This field doesn't actually exist, it's just a way to make TS properly infer the events from classes that extend AsyncEventEmitter

    +
    account: AccountCollection
    api: API.API
    channelUnreads: ChannelUnreadCollection
    channelWebhooks: ChannelWebhookCollection
    configuration:
        | undefined
        | {
            app: string;
            build: {
                commit_sha: string;
                commit_timestamp: string;
                origin_url: string;
                semver: string;
                timestamp: string;
            };
            features: {
                autumn: { enabled: boolean; url: string };
                captcha: { enabled: boolean; key: string };
                email: boolean;
                invite_only: boolean;
                january: { enabled: boolean; url: string };
                legal_links: {
                    guidelines: string;
                    privacy_policy: string;
                    terms_of_service: string;
                };
                limits: {
                    default: {
                        bots: number;
                        file_upload_size_limits: { [key: string]: number };
                        message_attachments: number;
                        message_length: number;
                        outgoing_friend_requests: number;
                        servers: number;
                        video: boolean;
                        video_aspect_ratio: number[];
                        video_resolution: number[];
                        voice_quality: number;
                    };
                    global: {
                        body_limit_size: number;
                        group_size: number;
                        message_embeds: number;
                        message_reactions: number;
                        message_replies: number;
                        new_user_hours: number;
                        restrict_server_creation: string[];
                        server_channels: number;
                        server_emoji: number;
                        server_roles: number;
                    };
                    new_user: {
                        bots: number;
                        file_upload_size_limits: { [key: string]: number };
                        message_attachments: number;
                        message_length: number;
                        outgoing_friend_requests: number;
                        servers: number;
                        video: boolean;
                        video_aspect_ratio: number[];
                        video_resolution: number[];
                        voice_quality: number;
                    };
                };
                livekit: {
                    enabled: boolean;
                    nodes: { lat: number; lon: number; name: string; public_url: string }[];
                };
            };
            revolt: string;
            vapid: string;
            ws: string;
        }

    Type declaration

    • undefined
    • {
          app: string;
          build: {
              commit_sha: string;
              commit_timestamp: string;
              origin_url: string;
              semver: string;
              timestamp: string;
          };
          features: {
              autumn: { enabled: boolean; url: string };
              captcha: { enabled: boolean; key: string };
              email: boolean;
              invite_only: boolean;
              january: { enabled: boolean; url: string };
              legal_links: {
                  guidelines: string;
                  privacy_policy: string;
                  terms_of_service: string;
              };
              limits: {
                  default: {
                      bots: number;
                      file_upload_size_limits: { [key: string]: number };
                      message_attachments: number;
                      message_length: number;
                      outgoing_friend_requests: number;
                      servers: number;
                      video: boolean;
                      video_aspect_ratio: number[];
                      video_resolution: number[];
                      voice_quality: number;
                  };
                  global: {
                      body_limit_size: number;
                      group_size: number;
                      message_embeds: number;
                      message_reactions: number;
                      message_replies: number;
                      new_user_hours: number;
                      restrict_server_creation: string[];
                      server_channels: number;
                      server_emoji: number;
                      server_roles: number;
                  };
                  new_user: {
                      bots: number;
                      file_upload_size_limits: { [key: string]: number };
                      message_attachments: number;
                      message_length: number;
                      outgoing_friend_requests: number;
                      servers: number;
                      video: boolean;
                      video_aspect_ratio: number[];
                      video_resolution: number[];
                      voice_quality: number;
                  };
              };
              livekit: {
                  enabled: boolean;
                  nodes: { lat: number; lon: number; name: string; public_url: string }[];
              };
          };
          revolt: string;
          vapid: string;
          ws: string;
      }
      • app: string

        URL pointing to the client serving this node

      • build: {
            commit_sha: string;
            commit_timestamp: string;
            origin_url: string;
            semver: string;
            timestamp: string;
        }

        Build information

        • commit_sha: string

          Commit Hash

        • commit_timestamp: string

          Commit Timestamp

          @@ -217,8 +217,8 @@
    • revolt: string

      Revolt API Version

    • vapid: string

      Web Push VAPID public key

    • ws: string

      WebSocket URL

      -
    configured: Accessor<boolean>
    connectionFailureCount: Accessor<number>
    events: EventClient<1>
    options: ClientOptions
    ready: Accessor<boolean>
    serverMembers: ServerMemberCollection
    user: undefined | User

    Accessors

    • get authenticationHeader(): [string, string]

      Get authentication header

      -

      Returns [string, string]

    • get limits(): | undefined
      | {
          bots: number;
          file_upload_size_limits: { [key: string]: number };
          message_attachments: number;
          message_length: number;
          outgoing_friend_requests: number;
          servers: number;
          video: boolean;
          video_aspect_ratio: number[];
          video_resolution: number[];
          voice_quality: number;
      }

      Backend enforced limits for the logged in user

      +
    configured: Accessor<boolean>
    connectionFailureCount: Accessor<number>
    events: EventClient<1>
    options: ClientOptions
    ready: Accessor<boolean>
    serverMembers: ServerMemberCollection
    user: undefined | User

    Accessors

    • get authenticationHeader(): [string, string]

      Get authentication header

      +

      Returns [string, string]

    • get limits(): | undefined
      | {
          bots: number;
          file_upload_size_limits: { [key: string]: number };
          message_attachments: number;
          message_length: number;
          outgoing_friend_requests: number;
          servers: number;
          video: boolean;
          video_aspect_ratio: number[];
          video_resolution: number[];
          voice_quality: number;
      }

      Backend enforced limits for the logged in user

      Returns
          | undefined
          | {
              bots: number;
              file_upload_size_limits: { [key: string]: number };
              message_attachments: number;
              message_length: number;
              outgoing_friend_requests: number;
              servers: number;
              video: boolean;
              video_aspect_ratio: number[];
              video_resolution: number[];
              voice_quality: number;
          }

      • undefined
      • {
            bots: number;
            file_upload_size_limits: { [key: string]: number };
            message_attachments: number;
            message_length: number;
            outgoing_friend_requests: number;
            servers: number;
            video: boolean;
            video_aspect_ratio: number[];
            video_resolution: number[];
            voice_quality: number;
        }
        • bots: number

          Format: int64

          Max Owned Bots

        • file_upload_size_limits: { [key: string]: number }
        • message_attachments: number

          Format: int64

          @@ -234,15 +234,15 @@
    • video_resolution: number[]

      max video resolution (vertical, horizontal)

    • voice_quality: number

      Format: int64

      max audio quality

      -
    • get sessionId(): undefined | string

      Current session id

      -

      Returns undefined | string

    Methods

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • ...args: InternalGetAsyncEventEmitterEventParameters<AsyncEventEmitter<Events>, K>

      Returns boolean

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • ...args: InternalGetAsyncEventEmitterEventParameters<AsyncEventEmitter<Events>, K>

      Returns boolean

    • Returns (string | symbol)[] & (keyof AsyncEventEmitterPredefinedEvents)[] & (
          keyof Events
      )[]

    • Returns number

    • Fetches the server config. This is called automatically by login() or loginBot(), +

    • get sessionId(): undefined | string

      Current session id

      +

      Returns undefined | string

    Methods

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • ...args: InternalGetAsyncEventEmitterEventParameters<AsyncEventEmitter<Events>, K>

      Returns boolean

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • ...args: InternalGetAsyncEventEmitterEventParameters<AsyncEventEmitter<Events>, K>

      Returns boolean

    • Returns (string | symbol)[] & (keyof AsyncEventEmitterPredefinedEvents)[] & (
          keyof Events
      )[]

    • Returns number

    • Fetches the server config. This is called automatically by login() or loginBot(), but you can call it first manually if you need to override any config options.

      Override example:

      await client.initConfig((config) => {
      config.ws = "wss://example.com";
      });
      -

      Parameters

      • OptionalpreConfig: (
            config: {
                app: string;
                build: {
                    commit_sha: string;
                    commit_timestamp: string;
                    origin_url: string;
                    semver: string;
                    timestamp: string;
                };
                features: {
                    autumn: { enabled: boolean; url: string };
                    captcha: { enabled: boolean; key: string };
                    email: boolean;
                    invite_only: boolean;
                    january: { enabled: boolean; url: string };
                    legal_links: {
                        guidelines: string;
                        privacy_policy: string;
                        terms_of_service: string;
                    };
                    limits: {
                        default: {
                            bots: number;
                            file_upload_size_limits: { [key: string]: number };
                            message_attachments: number;
                            message_length: number;
                            outgoing_friend_requests: number;
                            servers: number;
                            video: boolean;
                            video_aspect_ratio: number[];
                            video_resolution: number[];
                            voice_quality: number;
                        };
                        global: {
                            body_limit_size: number;
                            group_size: number;
                            message_embeds: number;
                            message_reactions: number;
                            message_replies: number;
                            new_user_hours: number;
                            restrict_server_creation: string[];
                            server_channels: number;
                            server_emoji: number;
                            server_roles: number;
                        };
                        new_user: {
                            bots: number;
                            file_upload_size_limits: { [key: string]: number };
                            message_attachments: number;
                            message_length: number;
                            outgoing_friend_requests: number;
                            servers: number;
                            video: boolean;
                            video_aspect_ratio: number[];
                            video_resolution: number[];
                            voice_quality: number;
                        };
                    };
                    livekit: {
                        enabled: boolean;
                        nodes: { lat: number; lon: number; name: string; public_url: string }[];
                    };
                };
                revolt: string;
                vapid: string;
                ws: string;
            },
        ) => void

      Returns Promise<void>

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K

      Returns number

    • Parameters

      • eventName: string | symbol

      Returns number

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K

      Returns Exclude<
          InternalAsyncEventEmitterInternalListenerForEvent<
              AsyncEventEmitter<Events>,
              K,
              Events,
          >["listener"],
          undefined,
      >[]

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K

      Returns Exclude<
          InternalAsyncEventEmitterInternalListenerForEvent<
              AsyncEventEmitter<Events>,
              K,
              Events,
          >["listener"],
          undefined,
      >[]

    • Log in with auth data, creating a new session in the process.

      +

      Parameters

      • OptionalpreConfig: (
            config: {
                app: string;
                build: {
                    commit_sha: string;
                    commit_timestamp: string;
                    origin_url: string;
                    semver: string;
                    timestamp: string;
                };
                features: {
                    autumn: { enabled: boolean; url: string };
                    captcha: { enabled: boolean; key: string };
                    email: boolean;
                    invite_only: boolean;
                    january: { enabled: boolean; url: string };
                    legal_links: {
                        guidelines: string;
                        privacy_policy: string;
                        terms_of_service: string;
                    };
                    limits: {
                        default: {
                            bots: number;
                            file_upload_size_limits: { [key: string]: number };
                            message_attachments: number;
                            message_length: number;
                            outgoing_friend_requests: number;
                            servers: number;
                            video: boolean;
                            video_aspect_ratio: number[];
                            video_resolution: number[];
                            voice_quality: number;
                        };
                        global: {
                            body_limit_size: number;
                            group_size: number;
                            message_embeds: number;
                            message_reactions: number;
                            message_replies: number;
                            new_user_hours: number;
                            restrict_server_creation: string[];
                            server_channels: number;
                            server_emoji: number;
                            server_roles: number;
                        };
                        new_user: {
                            bots: number;
                            file_upload_size_limits: { [key: string]: number };
                            message_attachments: number;
                            message_length: number;
                            outgoing_friend_requests: number;
                            servers: number;
                            video: boolean;
                            video_aspect_ratio: number[];
                            video_resolution: number[];
                            voice_quality: number;
                        };
                    };
                    livekit: {
                        enabled: boolean;
                        nodes: { lat: number; lon: number; name: string; public_url: string }[];
                    };
                };
                revolt: string;
                vapid: string;
                ws: string;
            },
        ) => void

      Returns Promise<void>

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K

      Returns number

    • Parameters

      • eventName: string | symbol

      Returns number

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K

      Returns Exclude<
          InternalAsyncEventEmitterInternalListenerForEvent<
              AsyncEventEmitter<Events>,
              K,
              Events,
          >["listener"],
          undefined,
      >[]

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K

      Returns Exclude<
          InternalAsyncEventEmitterInternalListenerForEvent<
              AsyncEventEmitter<Events>,
              K,
              Events,
          >["listener"],
          undefined,
      >[]

    • Log in with auth data, creating a new session in the process.

      Parameters

      • details:
            | { email: string; friendly_name?: null
            | string; password: string }
            | {
                friendly_name?: null | string;
                mfa_response?:
                    | null
                    | { password: string }
                    | { recovery_code: string }
                    | { totp_code: string };
                mfa_ticket: string;
            }

        Login data object

        • { email: string; friendly_name?: null | string; password: string }
          • email: string

            Email

          • Optionalfriendly_name?: null | string

            Friendly name used for the session

            @@ -253,22 +253,22 @@ but you can call it first manually if you need to override any config options.
          • mfa_ticket: string

            Unvalidated or authorised MFA ticket

            Used to resolve the correct account

      Returns Promise<void>

      An on-boarding function if on-boarding is required, undefined otherwise

      -
    • Log in as a bot

      Parameters

      • token: string

        Bot token

        -

      Returns Promise<void>

    • Log out of current session

      +

    Returns Promise<void>

    • Log out of current session

      This function prepares the client for disposal by removing all event listeners and killing the events socket.

      -

      Returns Promise<void>

    • Prepare a markdown-based message to be displayed to the user as plain text.

      +

      Returns Promise<void>

    • Prepare a markdown-based message to be displayed to the user as plain text.

      Parameters

      • source: string

        Source markdown text

      Returns string

      Modified plain text

      -
    • Prepare a markdown-based message to be displayed to the user as plain text. This method will fetch each user or channel if they are missing. Useful for serviceworkers.

      +
    • Prepare a markdown-based message to be displayed to the user as plain text. This method will fetch each user or channel if they are missing. Useful for serviceworkers.

      Parameters

      • source: string

        Source markdown text

      Returns Promise<string>

      Modified plain text

      -
    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Proxy a file through January.

      +
    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Proxy a file through January.

      Parameters

      • url: string

        URL to proxy

      Returns undefined | string

      Proxied media URL

      -
    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K

      Returns InternalAsyncEventEmitterInternalListenerForEvent<
          AsyncEventEmitter<Events>,
          K,
          Events,
      >[]

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K

      Returns InternalAsyncEventEmitterInternalListenerForEvent<
          AsyncEventEmitter<Events>,
          K,
          Events,
      >[]

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • event: K

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • Optionalevent: K

      Returns this

    • Parameters

      • event: string | symbol

      Returns this

    • Parameters

      • Optionalevent: string | symbol

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Parameters

      • n: number

      Returns this

    • Upload a file

      +
    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K

      Returns InternalAsyncEventEmitterInternalListenerForEvent<
          AsyncEventEmitter<Events>,
          K,
          Events,
      >[]

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K

      Returns InternalAsyncEventEmitterInternalListenerForEvent<
          AsyncEventEmitter<Events>,
          K,
          Events,
      >[]

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • event: K

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • Optionalevent: K

      Returns this

    • Parameters

      • event: string | symbol

      Returns this

    • Parameters

      • Optionalevent: string | symbol

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events>,
                K,
                Events,
            >["listener"],
            undefined,
        >

      Returns this

    • Parameters

      • n: number

      Returns this

    • Upload a file

      Parameters

      • tag: string

        Tag

      • file: File

        File

      • OptionaluploadUrl: string

        Media server upload route

        -

      Returns Promise<string>

    • Returns Promise<boolean>

    • Type Parameters

      • EventMap extends {}
      • EventName extends PropertyKey = (keyof AsyncEventEmitterPredefinedEvents) | keyof EventMap

      Parameters

      • emitter: AsyncEventEmitter<EventMap>
      • eventName: (keyof AsyncEventEmitterPredefinedEvents) | EventName

      Returns number

    • Parameters

      • emitter: AsyncEventEmitter<any>
      • eventName: string | symbol

      Returns number

    • Type Parameters

      • EventMap extends {}
      • EventName extends PropertyKey = (keyof AsyncEventEmitterPredefinedEvents) | keyof EventMap

      Parameters

      • emitter: AsyncEventEmitter<EventMap>
      • eventName: EventName
      • Optionaloptions: AbortableMethods

      Returns AsyncGenerator<
          InternalGetAsyncEventEmitterEventParameters<
              AsyncEventEmitter<EventMap>,
              EventName,
              EventMap,
          >,
          void,
      >

    • Parameters

      • emitter: AsyncEventEmitter<any>
      • eventName: string | symbol
      • Optionaloptions: AbortableMethods

      Returns AsyncGenerator<any[], void>

    • Type Parameters

      • EventMap extends {}
      • EventName extends PropertyKey = (keyof AsyncEventEmitterPredefinedEvents) | keyof EventMap

      Parameters

      • emitter: AsyncEventEmitter<EventMap>
      • eventName: EventName
      • Optionaloptions: AbortableMethods

      Returns Promise<
          InternalGetAsyncEventEmitterEventParameters<
              AsyncEventEmitter<EventMap>,
              EventName,
              EventMap,
          >,
      >

    • Parameters

      • emitter: AsyncEventEmitter<any>
      • eventName: string | symbol
      • Optionaloptions: AbortableMethods

      Returns Promise<any[]>

    +

    Returns Promise<string>

    diff --git a/classes/Collection.html b/classes/Collection.html index c38afaa9..14a58e89 100644 --- a/classes/Collection.html +++ b/classes/Collection.html @@ -1,5 +1,5 @@ Collection | stoat.js

    Class Collection<T>Abstract

    Abstract Collection type

    -

    Type Parameters

    • T

    Hierarchy (View Summary)

    Constructors

    Type Parameters

    • T

    Hierarchy (View Summary)

    Constructors

    Methods

    delete entries filter @@ -14,28 +14,28 @@ values

    Constructors

    Methods

    • Iterable of key, value pairs in the map

      +

    Returns void

    • Iterable of key, value pairs in the map

      Returns IterableIterator<[string, T]>

      Iterable

      -
    • Filter the collection by a given predicate

      Parameters

      • predicate: (value: T, key: string) => boolean

        Predicate to satisfy

        -

      Returns T[]

    • Find some value based on a predicate

      +

    Returns T[]

    Returns undefined | T

    Returns void

    Returns O[]

    +
    diff --git a/classes/Emoji.html b/classes/Emoji.html index 3f53a6f1..df222117 100644 --- a/classes/Emoji.html +++ b/classes/Emoji.html @@ -1,5 +1,5 @@ Emoji | stoat.js

    Class Emoji

    Emoji Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    $exists animated @@ -14,15 +14,15 @@

    Constructors

    Properties

    id: string

    Accessors

    • get parent(): { id: string; type: "Server" } | { type: "Detached" }

      Information about the parent of this emoji

      -

      Returns { id: string; type: "Server" } | { type: "Detached" }

    Methods

    • Convert to string

      +

    Returns Emoji

    Properties

    id: string

    Accessors

    • get parent(): { id: string; type: "Server" } | { type: "Detached" }

      Information about the parent of this emoji

      +

      Returns { id: string; type: "Server" } | { type: "Detached" }

    Methods

    +
    diff --git a/classes/EmojiCollection.html b/classes/EmojiCollection.html index d9b805c9..7ffb03b4 100644 --- a/classes/EmojiCollection.html +++ b/classes/EmojiCollection.html @@ -1,9 +1,10 @@ EmojiCollection | stoat.js

    Class EmojiCollection

    Collection of Emoji

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedEmoji
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedEmoji>>

    Methods

    • Create a new instance of an object

      +

    Returns EmojiCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedEmoji
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedEmoji>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: Emoji

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Delete an object

      +

    Returns void

    Returns void

    Returns Emoji[]

    Returns undefined | Emoji

    Returns Emoji

    Returns undefined | Emoji

    Returns O[]

    +
    diff --git a/classes/EventClient.html b/classes/EventClient.html index 3302fcdf..797f76bb 100644 --- a/classes/EventClient.html +++ b/classes/EventClient.html @@ -1,5 +1,5 @@ EventClient | stoat.js

    Class EventClient<T>

    Simple wrapper around the Revolt websocket service.

    -

    Type Parameters

    • T extends AvailableProtocols

    Hierarchy

    • AsyncEventEmitter<Events<T, EventProtocol<T>>>
      • EventClient

    Constructors

    Type Parameters

    • T extends AvailableProtocols

    Hierarchy

    • AsyncEventEmitter<Events<T, EventProtocol<T>>>
      • EventClient

    Constructors

    Properties

    [brandSymbol] options ping @@ -32,14 +32,14 @@

    Type Parameters

    • T extends 1

    Parameters

    • protocolVersion: T

      Target protocol version

    • transportFormat: "json" = "json"

      Communication format

    • Optionaloptions: Partial<EventClientOptions>

      Configuration options

      -

    Returns EventClient<T>

    Properties

    "[brandSymbol]": Events

    This field doesn't actually exist, it's just a way to make TS properly infer the events from classes that extend AsyncEventEmitter

    -
    options: EventClientOptions
    ping: Accessor<number>
    state: Accessor<ConnectionState>

    Accessors

    • get lastError(): | undefined
      | { data: any; type: "socket" }
      | {
          data: (
              | { type: "LabelMe" }
              | { type: "AlreadyOnboarded" }
              | { type: "UsernameTaken" }
              | { type: "InvalidUsername" }
              | { type: "DiscriminatorChangeRatelimited" }
              | { type: "UnknownUser" }
              | { type: "AlreadyFriends" }
              | { type: "AlreadySentRequest" }
              | { type: "Blocked" }
              | { type: "BlockedByOther" }
              | { type: "NotFriends" }
              | { max: number; type: "TooManyPendingFriendRequests" }
              | { type: "UnknownChannel" }
              | { type: "UnknownAttachment" }
              | { type: "UnknownMessage" }
              | { type: "CannotDeleteMessage" }
              | { type: "CannotEditMessage" }
              | { type: "CannotJoinCall" }
              | { max: number; type: "TooManyAttachments" }
              | { max: number; type: "TooManyEmbeds" }
              | { max: number; type: "TooManyReplies" }
              | { max: number; type: "TooManyChannels" }
              | { type: "EmptyMessage" }
              | { type: "PayloadTooLarge" }
              | { type: "CannotRemoveYourself" }
              | { max: number; type: "GroupTooLarge" }
              | { type: "AlreadyInGroup" }
              | { type: "NotInGroup" }
              | { type: "AlreadyPinned" }
              | { type: "NotPinned" }
              | { retry_after: number; type: "InSlowmode" }
              | { type: "CantCreateServers" }
              | { type: "UnknownServer" }
              | { type: "InvalidRole" }
              | { type: "Banned" }
              | { max: number; type: "TooManyServers" }
              | { max: number; type: "TooManyEmoji" }
              | { max: number; type: "TooManyRoles" }
              | { type: "AlreadyInServer" }
              | { type: "CannotTimeoutYourself" }
              | { type: "ReachedMaximumBots" }
              | { type: "IsBot" }
              | { type: "IsNotBot" }
              | { type: "BotIsPrivate" }
              | { type: "CannotReportYourself" }
              | { permission: string; type: "MissingPermission" }
              | { permission: string; type: "MissingUserPermission" }
              | { type: "NotElevated" }
              | { type: "NotPrivileged" }
              | { type: "CannotGiveMissingPermissions" }
              | { type: "NotOwner" }
              | { type: "IsElevated" }
              | { collection: string; operation: string; type: "DatabaseError" }
              | { type: "InternalError" }
              | { type: "InvalidOperation" }
              | { type: "InvalidCredentials" }
              | { type: "InvalidProperty" }
              | { type: "InvalidSession" }
              | { type: "InvalidFlagValue" }
              | { type: "NotAuthenticated" }
              | { type: "DuplicateNonce" }
              | { type: "NotFound" }
              | { type: "NoEffect" }
              | { error: string; type: "FailedValidation" }
              | { type: "HeaderTooLarge" }
              | { type: "OperationFailed" }
              | { type: "IncorrectData"; with: string }
              | { type: "LiveKitUnavailable" }
              | { type: "NotAVoiceChannel" }
              | { type: "AlreadyConnected" }
              | { type: "NotConnected" }
              | { type: "UnknownNode" }
              | { type: "ProxyError" }
              | { type: "FileTooSmall" }
              | { max: number; type: "FileTooLarge" }
              | { type: "FileTypeNotAllowed" }
              | { type: "ImageProcessingFailed" }
              | { type: "NoEmbedData" }
              | { type: "VosoUnavailable" }
              | { feature: string; type: "FeatureDisabled" }
              | { type: "RenderFail" }
              | { type: "MissingHeaders" }
              | { type: "CaptchaFailed" }
              | { type: "BlockedByShield" }
              | { type: "UnverifiedAccount" }
              | { type: "EmailFailed" }
              | { type: "InvalidToken" }
              | { type: "MissingInvite" }
              | { type: "InvalidInvite" }
              | { type: "CompromisedPassword" }
              | { type: "ShortPassword" }
              | { type: "Blacklisted" }
              | { type: "LockedOut" }
              | { type: "TotpAlreadyEnabled" }
              | { type: "DisallowedMFAMethod" }
          ) & { location: string };
          type: "revolt";
      }

      Last error encountered by events client

      -

      Returns
          | undefined
          | { data: any; type: "socket" }
          | {
              data: (
                  | { type: "LabelMe" }
                  | { type: "AlreadyOnboarded" }
                  | { type: "UsernameTaken" }
                  | { type: "InvalidUsername" }
                  | { type: "DiscriminatorChangeRatelimited" }
                  | { type: "UnknownUser" }
                  | { type: "AlreadyFriends" }
                  | { type: "AlreadySentRequest" }
                  | { type: "Blocked" }
                  | { type: "BlockedByOther" }
                  | { type: "NotFriends" }
                  | { max: number; type: "TooManyPendingFriendRequests" }
                  | { type: "UnknownChannel" }
                  | { type: "UnknownAttachment" }
                  | { type: "UnknownMessage" }
                  | { type: "CannotDeleteMessage" }
                  | { type: "CannotEditMessage" }
                  | { type: "CannotJoinCall" }
                  | { max: number; type: "TooManyAttachments" }
                  | { max: number; type: "TooManyEmbeds" }
                  | { max: number; type: "TooManyReplies" }
                  | { max: number; type: "TooManyChannels" }
                  | { type: "EmptyMessage" }
                  | { type: "PayloadTooLarge" }
                  | { type: "CannotRemoveYourself" }
                  | { max: number; type: "GroupTooLarge" }
                  | { type: "AlreadyInGroup" }
                  | { type: "NotInGroup" }
                  | { type: "AlreadyPinned" }
                  | { type: "NotPinned" }
                  | { retry_after: number; type: "InSlowmode" }
                  | { type: "CantCreateServers" }
                  | { type: "UnknownServer" }
                  | { type: "InvalidRole" }
                  | { type: "Banned" }
                  | { max: number; type: "TooManyServers" }
                  | { max: number; type: "TooManyEmoji" }
                  | { max: number; type: "TooManyRoles" }
                  | { type: "AlreadyInServer" }
                  | { type: "CannotTimeoutYourself" }
                  | { type: "ReachedMaximumBots" }
                  | { type: "IsBot" }
                  | { type: "IsNotBot" }
                  | { type: "BotIsPrivate" }
                  | { type: "CannotReportYourself" }
                  | { permission: string; type: "MissingPermission" }
                  | { permission: string; type: "MissingUserPermission" }
                  | { type: "NotElevated" }
                  | { type: "NotPrivileged" }
                  | { type: "CannotGiveMissingPermissions" }
                  | { type: "NotOwner" }
                  | { type: "IsElevated" }
                  | { collection: string; operation: string; type: "DatabaseError" }
                  | { type: "InternalError" }
                  | { type: "InvalidOperation" }
                  | { type: "InvalidCredentials" }
                  | { type: "InvalidProperty" }
                  | { type: "InvalidSession" }
                  | { type: "InvalidFlagValue" }
                  | { type: "NotAuthenticated" }
                  | { type: "DuplicateNonce" }
                  | { type: "NotFound" }
                  | { type: "NoEffect" }
                  | { error: string; type: "FailedValidation" }
                  | { type: "HeaderTooLarge" }
                  | { type: "OperationFailed" }
                  | { type: "IncorrectData"; with: string }
                  | { type: "LiveKitUnavailable" }
                  | { type: "NotAVoiceChannel" }
                  | { type: "AlreadyConnected" }
                  | { type: "NotConnected" }
                  | { type: "UnknownNode" }
                  | { type: "ProxyError" }
                  | { type: "FileTooSmall" }
                  | { max: number; type: "FileTooLarge" }
                  | { type: "FileTypeNotAllowed" }
                  | { type: "ImageProcessingFailed" }
                  | { type: "NoEmbedData" }
                  | { type: "VosoUnavailable" }
                  | { feature: string; type: "FeatureDisabled" }
                  | { type: "RenderFail" }
                  | { type: "MissingHeaders" }
                  | { type: "CaptchaFailed" }
                  | { type: "BlockedByShield" }
                  | { type: "UnverifiedAccount" }
                  | { type: "EmailFailed" }
                  | { type: "InvalidToken" }
                  | { type: "MissingInvite" }
                  | { type: "InvalidInvite" }
                  | { type: "CompromisedPassword" }
                  | { type: "ShortPassword" }
                  | { type: "Blacklisted" }
                  | { type: "LockedOut" }
                  | { type: "TotpAlreadyEnabled" }
                  | { type: "DisallowedMFAMethod" }
              ) & { location: string };
              type: "revolt";
          }

    Methods

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Connect to the websocket service.

      +

    Returns EventClient<T>

    Properties

    "[brandSymbol]": Events

    This field doesn't actually exist, it's just a way to make TS properly infer the events from classes that extend AsyncEventEmitter

    +
    options: EventClientOptions
    ping: Accessor<number>
    state: Accessor<ConnectionState>

    Accessors

    • get lastError(): | undefined
      | { data: any; type: "socket" }
      | {
          data: (
              | { type: "LabelMe" }
              | { type: "AlreadyOnboarded" }
              | { type: "UsernameTaken" }
              | { type: "InvalidUsername" }
              | { type: "DiscriminatorChangeRatelimited" }
              | { type: "UnknownUser" }
              | { type: "AlreadyFriends" }
              | { type: "AlreadySentRequest" }
              | { type: "Blocked" }
              | { type: "BlockedByOther" }
              | { type: "NotFriends" }
              | { max: number; type: "TooManyPendingFriendRequests" }
              | { type: "UnknownChannel" }
              | { type: "UnknownAttachment" }
              | { type: "UnknownMessage" }
              | { type: "CannotDeleteMessage" }
              | { type: "CannotEditMessage" }
              | { type: "CannotJoinCall" }
              | { max: number; type: "TooManyAttachments" }
              | { max: number; type: "TooManyEmbeds" }
              | { max: number; type: "TooManyReplies" }
              | { max: number; type: "TooManyChannels" }
              | { type: "EmptyMessage" }
              | { type: "PayloadTooLarge" }
              | { type: "CannotRemoveYourself" }
              | { max: number; type: "GroupTooLarge" }
              | { type: "AlreadyInGroup" }
              | { type: "NotInGroup" }
              | { type: "AlreadyPinned" }
              | { type: "NotPinned" }
              | { retry_after: number; type: "InSlowmode" }
              | { type: "CantCreateServers" }
              | { type: "UnknownServer" }
              | { type: "InvalidRole" }
              | { type: "Banned" }
              | { max: number; type: "TooManyServers" }
              | { max: number; type: "TooManyEmoji" }
              | { max: number; type: "TooManyRoles" }
              | { type: "AlreadyInServer" }
              | { type: "CannotTimeoutYourself" }
              | { type: "ReachedMaximumBots" }
              | { type: "IsBot" }
              | { type: "IsNotBot" }
              | { type: "BotIsPrivate" }
              | { type: "CannotReportYourself" }
              | { permission: string; type: "MissingPermission" }
              | { permission: string; type: "MissingUserPermission" }
              | { type: "NotElevated" }
              | { type: "NotPrivileged" }
              | { type: "CannotGiveMissingPermissions" }
              | { type: "NotOwner" }
              | { type: "IsElevated" }
              | { collection: string; operation: string; type: "DatabaseError" }
              | { type: "InternalError" }
              | { type: "InvalidOperation" }
              | { type: "InvalidCredentials" }
              | { type: "InvalidProperty" }
              | { type: "InvalidSession" }
              | { type: "InvalidFlagValue" }
              | { type: "NotAuthenticated" }
              | { type: "DuplicateNonce" }
              | { type: "NotFound" }
              | { type: "NoEffect" }
              | { error: string; type: "FailedValidation" }
              | { type: "HeaderTooLarge" }
              | { type: "OperationFailed" }
              | { type: "IncorrectData"; with: string }
              | { type: "LiveKitUnavailable" }
              | { type: "NotAVoiceChannel" }
              | { type: "AlreadyConnected" }
              | { type: "NotConnected" }
              | { type: "UnknownNode" }
              | { type: "ProxyError" }
              | { type: "FileTooSmall" }
              | { max: number; type: "FileTooLarge" }
              | { type: "FileTypeNotAllowed" }
              | { type: "ImageProcessingFailed" }
              | { type: "NoEmbedData" }
              | { type: "VosoUnavailable" }
              | { feature: string; type: "FeatureDisabled" }
              | { type: "RenderFail" }
              | { type: "MissingHeaders" }
              | { type: "CaptchaFailed" }
              | { type: "BlockedByShield" }
              | { type: "UnverifiedAccount" }
              | { type: "EmailFailed" }
              | { type: "InvalidToken" }
              | { type: "MissingInvite" }
              | { type: "InvalidInvite" }
              | { type: "CompromisedPassword" }
              | { type: "ShortPassword" }
              | { type: "Blacklisted" }
              | { type: "LockedOut" }
              | { type: "TotpAlreadyEnabled" }
              | { type: "DisallowedMFAMethod" }
          ) & { location: string };
          type: "revolt";
      }

      Last error encountered by events client

      +

      Returns
          | undefined
          | { data: any; type: "socket" }
          | {
              data: (
                  | { type: "LabelMe" }
                  | { type: "AlreadyOnboarded" }
                  | { type: "UsernameTaken" }
                  | { type: "InvalidUsername" }
                  | { type: "DiscriminatorChangeRatelimited" }
                  | { type: "UnknownUser" }
                  | { type: "AlreadyFriends" }
                  | { type: "AlreadySentRequest" }
                  | { type: "Blocked" }
                  | { type: "BlockedByOther" }
                  | { type: "NotFriends" }
                  | { max: number; type: "TooManyPendingFriendRequests" }
                  | { type: "UnknownChannel" }
                  | { type: "UnknownAttachment" }
                  | { type: "UnknownMessage" }
                  | { type: "CannotDeleteMessage" }
                  | { type: "CannotEditMessage" }
                  | { type: "CannotJoinCall" }
                  | { max: number; type: "TooManyAttachments" }
                  | { max: number; type: "TooManyEmbeds" }
                  | { max: number; type: "TooManyReplies" }
                  | { max: number; type: "TooManyChannels" }
                  | { type: "EmptyMessage" }
                  | { type: "PayloadTooLarge" }
                  | { type: "CannotRemoveYourself" }
                  | { max: number; type: "GroupTooLarge" }
                  | { type: "AlreadyInGroup" }
                  | { type: "NotInGroup" }
                  | { type: "AlreadyPinned" }
                  | { type: "NotPinned" }
                  | { retry_after: number; type: "InSlowmode" }
                  | { type: "CantCreateServers" }
                  | { type: "UnknownServer" }
                  | { type: "InvalidRole" }
                  | { type: "Banned" }
                  | { max: number; type: "TooManyServers" }
                  | { max: number; type: "TooManyEmoji" }
                  | { max: number; type: "TooManyRoles" }
                  | { type: "AlreadyInServer" }
                  | { type: "CannotTimeoutYourself" }
                  | { type: "ReachedMaximumBots" }
                  | { type: "IsBot" }
                  | { type: "IsNotBot" }
                  | { type: "BotIsPrivate" }
                  | { type: "CannotReportYourself" }
                  | { permission: string; type: "MissingPermission" }
                  | { permission: string; type: "MissingUserPermission" }
                  | { type: "NotElevated" }
                  | { type: "NotPrivileged" }
                  | { type: "CannotGiveMissingPermissions" }
                  | { type: "NotOwner" }
                  | { type: "IsElevated" }
                  | { collection: string; operation: string; type: "DatabaseError" }
                  | { type: "InternalError" }
                  | { type: "InvalidOperation" }
                  | { type: "InvalidCredentials" }
                  | { type: "InvalidProperty" }
                  | { type: "InvalidSession" }
                  | { type: "InvalidFlagValue" }
                  | { type: "NotAuthenticated" }
                  | { type: "DuplicateNonce" }
                  | { type: "NotFound" }
                  | { type: "NoEffect" }
                  | { error: string; type: "FailedValidation" }
                  | { type: "HeaderTooLarge" }
                  | { type: "OperationFailed" }
                  | { type: "IncorrectData"; with: string }
                  | { type: "LiveKitUnavailable" }
                  | { type: "NotAVoiceChannel" }
                  | { type: "AlreadyConnected" }
                  | { type: "NotConnected" }
                  | { type: "UnknownNode" }
                  | { type: "ProxyError" }
                  | { type: "FileTooSmall" }
                  | { max: number; type: "FileTooLarge" }
                  | { type: "FileTypeNotAllowed" }
                  | { type: "ImageProcessingFailed" }
                  | { type: "NoEmbedData" }
                  | { type: "VosoUnavailable" }
                  | { feature: string; type: "FeatureDisabled" }
                  | { type: "RenderFail" }
                  | { type: "MissingHeaders" }
                  | { type: "CaptchaFailed" }
                  | { type: "BlockedByShield" }
                  | { type: "UnverifiedAccount" }
                  | { type: "EmailFailed" }
                  | { type: "InvalidToken" }
                  | { type: "MissingInvite" }
                  | { type: "InvalidInvite" }
                  | { type: "CompromisedPassword" }
                  | { type: "ShortPassword" }
                  | { type: "Blacklisted" }
                  | { type: "LockedOut" }
                  | { type: "TotpAlreadyEnabled" }
                  | { type: "DisallowedMFAMethod" }
              ) & { location: string };
              type: "revolt";
          }

    Methods

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Connect to the websocket service.

      Parameters

      • uri: string

        WebSocket URI

      • token: string

        Authentication token

        -

      Returns void

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • ...args: InternalGetAsyncEventEmitterEventParameters<
            AsyncEventEmitter<Events<T, EventProtocol<T>>>,
            K,
        >

      Returns boolean

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • ...args: InternalGetAsyncEventEmitterEventParameters<
            AsyncEventEmitter<Events<T, EventProtocol<T>>>,
            K,
        >

      Returns boolean

    • Returns (string | symbol)[] & (keyof AsyncEventEmitterPredefinedEvents)[] & (
          keyof Events<T, EventProtocol<T>>
      )[]

    • Returns number

    • Handle events intended for client before passing them along.

      +

    Returns void

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • ...args: InternalGetAsyncEventEmitterEventParameters<
            AsyncEventEmitter<Events<T, EventProtocol<T>>>,
            K,
        >

      Returns boolean

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • ...args: InternalGetAsyncEventEmitterEventParameters<
            AsyncEventEmitter<Events<T, EventProtocol<T>>>,
            K,
        >

      Returns boolean

    • Returns (string | symbol)[] & (keyof AsyncEventEmitterPredefinedEvents)[] & (
          keyof Events<T, EventProtocol<T>>
      )[]

    • Returns number

    • Handle events intended for client before passing them along.

      Parameters

      • event: EventProtocol<T>["server"]

        Event

        -

      Returns void

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K

      Returns number

    • Parameters

      • eventName: string | symbol

      Returns number

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K

      Returns Exclude<
          InternalAsyncEventEmitterInternalListenerForEvent<
              AsyncEventEmitter<Events<T, EventProtocol<T>>>,
              K,
              Events<T, EventProtocol<T>>,
          >["listener"],
          undefined,
      >[]

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K

      Returns Exclude<
          InternalAsyncEventEmitterInternalListenerForEvent<
              AsyncEventEmitter<Events<T, EventProtocol<T>>>,
              K,
              Events<T, EventProtocol<T>>,
          >["listener"],
          undefined,
      >[]

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K

      Returns InternalAsyncEventEmitterInternalListenerForEvent<
          AsyncEventEmitter<Events<T, EventProtocol<T>>>,
          K,
          Events<T, EventProtocol<T>>,
      >[]

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K

      Returns InternalAsyncEventEmitterInternalListenerForEvent<
          AsyncEventEmitter<Events<T, EventProtocol<T>>>,
          K,
          Events<T, EventProtocol<T>>,
      >[]

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • event: K

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • Optionalevent: K

      Returns this

    • Parameters

      • event: string | symbol

      Returns this

    • Parameters

      • Optionalevent: string | symbol

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Send an event to the server.

      +

    Returns void

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K

      Returns number

    • Parameters

      • eventName: string | symbol

      Returns number

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K

      Returns Exclude<
          InternalAsyncEventEmitterInternalListenerForEvent<
              AsyncEventEmitter<Events<T, EventProtocol<T>>>,
              K,
              Events<T, EventProtocol<T>>,
          >["listener"],
          undefined,
      >[]

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K

      Returns Exclude<
          InternalAsyncEventEmitterInternalListenerForEvent<
              AsyncEventEmitter<Events<T, EventProtocol<T>>>,
              K,
              Events<T, EventProtocol<T>>,
          >["listener"],
          undefined,
      >[]

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K

      Returns InternalAsyncEventEmitterInternalListenerForEvent<
          AsyncEventEmitter<Events<T, EventProtocol<T>>>,
          K,
          Events<T, EventProtocol<T>>,
      >[]

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K

      Returns InternalAsyncEventEmitterInternalListenerForEvent<
          AsyncEventEmitter<Events<T, EventProtocol<T>>>,
          K,
          Events<T, EventProtocol<T>>,
      >[]

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • event: K

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • Optionalevent: K

      Returns this

    • Parameters

      • event: string | symbol

      Returns this

    • Parameters

      • Optionalevent: string | symbol

      Returns this

    • Type Parameters

      • K extends (keyof AsyncEventEmitterPredefinedEvents) | (keyof Events<T, EventProtocol<T>>)

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Type Parameters

      • K extends string | symbol

      Parameters

      • eventName: K
      • listener: Exclude<
            InternalAsyncEventEmitterInternalListenerForEvent<
                AsyncEventEmitter<Events<T, EventProtocol<T>>>,
                K,
                Events<T, EventProtocol<T>>,
            >["listener"],
            undefined,
        >

      Returns this

    • Send an event to the server.

      Parameters

      • event: EventProtocol<T>["client"]

        Event

        -

      Returns void

    • Parameters

      • n: number

      Returns this

    • Returns Promise<boolean>

    • Type Parameters

      • EventMap extends {}
      • EventName extends PropertyKey = (keyof AsyncEventEmitterPredefinedEvents) | keyof EventMap

      Parameters

      • emitter: AsyncEventEmitter<EventMap>
      • eventName: (keyof AsyncEventEmitterPredefinedEvents) | EventName

      Returns number

    • Parameters

      • emitter: AsyncEventEmitter<any>
      • eventName: string | symbol

      Returns number

    • Type Parameters

      • EventMap extends {}
      • EventName extends PropertyKey = (keyof AsyncEventEmitterPredefinedEvents) | keyof EventMap

      Parameters

      • emitter: AsyncEventEmitter<EventMap>
      • eventName: EventName
      • Optionaloptions: AbortableMethods

      Returns AsyncGenerator<
          InternalGetAsyncEventEmitterEventParameters<
              AsyncEventEmitter<EventMap>,
              EventName,
              EventMap,
          >,
          void,
      >

    • Parameters

      • emitter: AsyncEventEmitter<any>
      • eventName: string | symbol
      • Optionaloptions: AbortableMethods

      Returns AsyncGenerator<any[], void>

    • Type Parameters

      • EventMap extends {}
      • EventName extends PropertyKey = (keyof AsyncEventEmitterPredefinedEvents) | keyof EventMap

      Parameters

      • emitter: AsyncEventEmitter<EventMap>
      • eventName: EventName
      • Optionaloptions: AbortableMethods

      Returns Promise<
          InternalGetAsyncEventEmitterEventParameters<
              AsyncEventEmitter<EventMap>,
              EventName,
              EventMap,
          >,
      >

    • Parameters

      • emitter: AsyncEventEmitter<any>
      • eventName: string | symbol
      • Optionaloptions: AbortableMethods

      Returns Promise<any[]>

    +

    Returns void

    diff --git a/classes/File.html b/classes/File.html index d1a7498b..5c529691 100644 --- a/classes/File.html +++ b/classes/File.html @@ -1,5 +1,5 @@ File | stoat.js

    Class File

    Uploaded File

    -

    Constructors

    Constructors

    Properties

    contentType? filename? id @@ -14,21 +14,21 @@

    Constructors

    • Construct File

      Parameters

      • client: Client

        Client

      • file:
            | File
            | Pick<
                {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                },
                "_id"
                | "tag"
                | "metadata",
            > & Partial<
                {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                },
            >

        File

        -

      Returns File

    Properties

    contentType?: string

    Raw content type of this file

    -
    filename?: string

    Original filename

    -
    id: string

    File Id

    -
    metadata:
        | { type: "File" }
        | { type: "Text" }
        | {
            animated?: null | boolean;
            height: number;
            thumbhash?: null | number[];
            type: "Image";
            width: number;
        }
        | { height: number; type: "Video"; width: number }
        | { type: "Audio" }

    Parsed metadata of the file

    +

    Returns File

    Properties

    contentType?: string

    Raw content type of this file

    +
    filename?: string

    Original filename

    +
    id: string

    File Id

    +
    metadata:
        | { type: "File" }
        | { type: "Text" }
        | {
            animated?: null | boolean;
            height: number;
            thumbhash?: null | number[];
            type: "Image";
            width: number;
        }
        | { height: number; type: "Video"; width: number }
        | { type: "Audio" }

    Parsed metadata of the file

    Type declaration

    • { type: "File" }
    • { type: "Text" }
    • {
          animated?: null | boolean;
          height: number;
          thumbhash?: null | number[];
          type: "Image";
          width: number;
      }
      • Optionalanimated?: null | boolean
      • height: number

        Format: uint

      • Optionalthumbhash?: null | number[]
      • type: "Image"
      • width: number

        Format: uint

    • { height: number; type: "Video"; width: number }
      • height: number

        Format: uint

      • type: "Video"
      • width: number

        Format: uint

        -
    • { type: "Audio" }
    size?: number

    Size of the file (in bytes)

    -
    tag: string

    File bucket

    -

    Accessors

    Methods

    • Creates a URL to a given file with given options.

      +
  • { type: "Audio" }
  • size?: number

    Size of the file (in bytes)

    +
    tag: string

    File bucket

    +

    Accessors

    Methods

    • Creates a URL to a given file with given options.

      Parameters

      • OptionalforceAnimation: boolean

        Returns GIF if applicable (for avatars/icons)

      Returns undefined | string

      Generated URL or nothing

      -
    +
    diff --git a/classes/ImageEmbed.html b/classes/ImageEmbed.html index bfc57f7d..bcc12ded 100644 --- a/classes/ImageEmbed.html +++ b/classes/ImageEmbed.html @@ -1,5 +1,5 @@ ImageEmbed | stoat.js

    Class ImageEmbed

    Image Embed

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client? height size @@ -11,8 +11,8 @@

    Constructors

    • Construct Image Embed

      Parameters

      • client: Client

        Client

      • embed: Omit<
            (
                | {
                    colour?: null
                    | string;
                    description?: null | string;
                    icon_url?: null | string;
                    image?:
                        | null
                        | {
                            height: number;
                            size: "Large"
                            | "Preview";
                            url: string;
                            width: number;
                        };
                    original_url?: null
                    | string;
                    site_name?: null | string;
                    special?:
                        | null
                        | { type: "None" }
                        | { type: "GIF" }
                        | { id: string; timestamp?: null | string; type: "YouTube" }
                        | { content_type: "Channel"; id: string; type: "Lightspeed" }
                        | {
                            content_type: "Video" | "Channel" | "Clip";
                            id: string;
                            type: "Twitch";
                        }
                        | { content_type: string; id: string; type: "Spotify" }
                        | { type: "Soundcloud" }
                        | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                        | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                        | { id: string; type: "Streamable" };
                    title?: null | string;
                    type: "Website";
                    url?: null | string;
                    video?: null | { height: number; url: string; width: number };
                }
                | {
                    height: number;
                    size: "Large"
                    | "Preview";
                    type: "Image";
                    url: string;
                    width: number;
                }
                | { height: number; type: "Video"; url: string; width: number }
                | {
                    colour?: null | string;
                    description?: null | string;
                    icon_url?: null | string;
                    media?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    title?: null
                    | string;
                    type: "Text";
                    url?: null | string;
                }
                | { type: "None" }
            ) & { type: "Image" },
            "type",
        >

        Embed

        -

      Returns ImageEmbed

    Properties

    client?: Client
    height: number
    size: "Large" | "Preview"
    type: "Text" | "Video" | "Image" | "Website" | "None"
    url: string
    width: number

    Accessors

    Methods

    • Create an Embed from an API Embed

      +

    Returns ImageEmbed

    Properties

    client?: Client
    height: number
    size: "Large" | "Preview"
    type: "Text" | "Video" | "Image" | "Website" | "None"
    url: string
    width: number

    Accessors

    Methods

    • Create an Embed from an API Embed

      Parameters

      • client: Client

        Client

      • embed:
            | {
                colour?: null
                | string;
                description?: null | string;
                icon_url?: null | string;
                image?:
                    | null
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        url: string;
                        width: number;
                    };
                original_url?: null
                | string;
                site_name?: null | string;
                special?:
                    | null
                    | { type: "None" }
                    | { type: "GIF" }
                    | { id: string; timestamp?: null | string; type: "YouTube" }
                    | { content_type: "Channel"; id: string; type: "Lightspeed" }
                    | {
                        content_type: "Video" | "Channel" | "Clip";
                        id: string;
                        type: "Twitch";
                    }
                    | { content_type: string; id: string; type: "Spotify" }
                    | { type: "Soundcloud" }
                    | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                    | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                    | { id: string; type: "Streamable" };
                title?: null | string;
                type: "Website";
                url?: null | string;
                video?: null | { height: number; url: string; width: number };
            }
            | {
                height: number;
                size: "Large"
                | "Preview";
                type: "Image";
                url: string;
                width: number;
            }
            | { height: number; type: "Video"; url: string; width: number }
            | {
                colour?: null | string;
                description?: null | string;
                icon_url?: null | string;
                media?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                title?: null
                | string;
                type: "Text";
                url?: null | string;
            }
            | { type: "None" }

        Data

        • {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              image?:
                  | null
                  | {
                      height: number;
                      size: "Large"
                      | "Preview";
                      url: string;
                      width: number;
                  };
              original_url?: null
              | string;
              site_name?: null | string;
              special?:
                  | null
                  | { type: "None" }
                  | { type: "GIF" }
                  | { id: string; timestamp?: null | string; type: "YouTube" }
                  | { content_type: "Channel"; id: string; type: "Lightspeed" }
                  | {
                      content_type: "Video" | "Channel" | "Clip";
                      id: string;
                      type: "Twitch";
                  }
                  | { content_type: string; id: string; type: "Spotify" }
                  | { type: "Soundcloud" }
                  | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                  | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                  | { id: string; type: "Streamable" };
              title?: null | string;
              type: "Website";
              url?: null | string;
              video?: null | { height: number; url: string; width: number };
          }
          • Optionalcolour?: null | string

            CSS Colour

            @@ -43,4 +43,4 @@
          • Optionaltitle?: null | string

            Title of text embed

          • type: "Text"
          • Optionalurl?: null | string

            URL for title

        • { type: "None" }

      Returns MessageEmbed

      Embed

      -
    +
    diff --git a/classes/MFA.html b/classes/MFA.html index dc84c969..346537dd 100644 --- a/classes/MFA.html +++ b/classes/MFA.html @@ -1,5 +1,5 @@ MFA | stoat.js

    Class MFA

    Multi-Factor Authentication

    -

    Constructors

    Constructors

    Accessors

    Constructors

    • Construct MFA helper

      Parameters

      • client: Client

        Client

      • state: {
            email_mfa?: boolean;
            email_otp?: boolean;
            recovery_active?: boolean;
            security_key_mfa?: boolean;
            totp_mfa?: boolean;
            trusted_handover?: boolean;
        }

        State

        -

      Returns MFA

    Accessors

    • get authenticatorEnabled(): boolean

      Whether authenticator app is enabled

      -

      Returns boolean

    • get availableMethods(): ("Password" | "Recovery" | "Totp")[]

      Available MFA methods for generating tickets

      -

      Returns ("Password" | "Recovery" | "Totp")[]

    • get recoveryEnabled(): boolean

      Whether recovery codes are enabled

      -

      Returns boolean

    Methods

    • Create an MFA ticket

      +

    Returns MFA

    Accessors

    • get authenticatorEnabled(): boolean

      Whether authenticator app is enabled

      +

      Returns boolean

    • get availableMethods(): ("Password" | "Recovery" | "Totp")[]

      Available MFA methods for generating tickets

      +

      Returns ("Password" | "Recovery" | "Totp")[]

    • get recoveryEnabled(): boolean

      Whether recovery codes are enabled

      +

      Returns boolean

    Methods

    • Create an MFA ticket

      Parameters

      • params: { password: string } | { recovery_code: string } | { totp_code: string }

      Returns Promise<MFATicket>

      Token

      -
    • Enable authenticator using token generated from secret found earlier

      +
    • Enable authenticator using token generated from secret found earlier

      Parameters

      • token: string

        Token

        -

      Returns Promise<void>

    +

    Returns Promise<void>

    diff --git a/classes/MFATicket.html b/classes/MFATicket.html index f7898a35..bcead5d0 100644 --- a/classes/MFATicket.html +++ b/classes/MFATicket.html @@ -1,5 +1,5 @@ MFATicket | stoat.js

    Class MFATicket

    MFA Ticket

    -

    Constructors

    Constructors

    Accessors

    Methods

    _consume deleteAccount @@ -18,15 +18,15 @@
  • token: string

    Unique Token

  • validated: boolean

    Whether this ticket has been validated (can be used for account actions)

  • mutate: SetStoreFunction<
        {
            email_mfa?: boolean;
            email_otp?: boolean;
            recovery_active?: boolean;
            security_key_mfa?: boolean;
            totp_mfa?: boolean;
            trusted_handover?: boolean;
        },
    >

    Mutate the store

    -
  • Returns MFATicket

    Accessors

    Methods

    • Disable authenticator

      -

      Returns Promise<void>

    • Fetch recovery codes

      +

    Returns MFATicket

    Accessors

    Methods

    • Disable authenticator

      +

      Returns Promise<void>

    • Fetch recovery codes

      Returns Promise<string[]>

      List of codes

      -
    • Generate new authenticator secret

      +
    • Generate new authenticator secret

      Returns Promise<string>

      Secret

      -
    • Generate new set of recovery codes

      +
    • Generate new set of recovery codes

      Returns Promise<string[]>

      List of codes

      -
    +
    diff --git a/classes/Message.html b/classes/Message.html index 04248b04..0be22ca8 100644 --- a/classes/Message.html +++ b/classes/Message.html @@ -1,5 +1,5 @@ Message | stoat.js

    Class Message

    Message Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    $exists animatedAvatarURL @@ -48,65 +48,65 @@

    Constructors

    Properties

    id: string

    Accessors

    • get animatedAvatarURL(): undefined | string

      Get the animated avatar URL for this message

      -

      Returns undefined | string

    • get authorId(): undefined | string

      Id of user or webhook this message was sent by

      -

      Returns undefined | string

    • get avatarURL(): undefined | string

      Get the avatar URL for this message

      -

      Returns undefined | string

    • get editedAt(): undefined | Date

      Time at which this message was edited

      -

      Returns undefined | Date

    • get interactions(): | undefined
      | { reactions?: null
      | string[]; restrict_reactions?: boolean }

      Interactions

      +

    Returns Message

    Properties

    id: string

    Accessors

    • get animatedAvatarURL(): undefined | string

      Get the animated avatar URL for this message

      +

      Returns undefined | string

    • get authorId(): undefined | string

      Id of user or webhook this message was sent by

      +

      Returns undefined | string

    • get avatarURL(): undefined | string

      Get the avatar URL for this message

      +

      Returns undefined | string

    • get editedAt(): undefined | Date

      Time at which this message was edited

      +

      Returns undefined | Date

    • get interactions(): | undefined
      | { reactions?: null
      | string[]; restrict_reactions?: boolean }

      Interactions

      Returns undefined | { reactions?: null | string[]; restrict_reactions?: boolean }

      • undefined
      • { reactions?: null | string[]; restrict_reactions?: boolean }
        • Optionalreactions?: null | string[]

          Reactions which should always appear and be distinct

        • Optionalrestrict_reactions?: boolean

          Whether reactions should be restricted to the given list

          Can only be set to true if reactions list is of at least length 1

          -
    • get isSuppressed(): boolean

      Whether this message has suppressed desktop/push notifications

      -

      Returns boolean

    • get masquerade(): | undefined
      | { avatar?: null
      | string; colour?: null | string; name?: null | string }

      Masquerade

      +

    Methods

    • Acknowledge this message as read

      +
    • get masqueradeAvatarURL(): undefined | string

      Avatar URL from the masquerade

      +

      Returns undefined | string

    • get mentionIds(): undefined | string[]

      IDs of users this message mentions

      +

      Returns undefined | string[]

    • get reactions(): ReactiveMap<string, ReactiveSet<string>>

      Reactions

      +

      Returns ReactiveMap<string, ReactiveSet<string>>

    • get replyIds(): undefined | string[]

      IDs of messages this message replies to

      +

      Returns undefined | string[]

    • get roleColour(): undefined | null | string

      Get the role colour for this message

      +

      Returns undefined | null | string

    • get roleMentionIds(): undefined | string[]

      IDs of roles this message mentions

      +

      Returns undefined | string[]

    • get username(): undefined | string

      Get the username for this message

      +

      Returns undefined | string

    Methods

    • Acknowledge this message as read

      Parameters

      • OptionalskipRateLimiter: boolean

        Whether to skip the internal rate limiter

      • OptionalskipRequest: boolean

        For internal updates only

      • OptionalskipNextMarking: boolean

        For internal usage only

      Returns void

      SavedMessages, DirectMessage, Group, TextChannel

      -
    • Edit a message

      +
    • Edit a message

      Parameters

      • data: {
            content?: null | string;
            embeds?:
                | null
                | {
                    colour?: null
                    | string;
                    description?: null | string;
                    icon_url?: null | string;
                    media?: null | string;
                    title?: null | string;
                    url?: null | string;
                }[];
        }

        Message edit route data

        • Optionalcontent?: null | string

          New message content

        • Optionalembeds?:
              | null
              | {
                  colour?: null
                  | string;
                  description?: null | string;
                  icon_url?: null | string;
                  media?: null | string;
                  title?: null | string;
                  url?: null | string;
              }[]

          Embeds to include in the message

          -

      Returns Promise<
          {
              _id: string;
              attachments?: | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[];
              author: string;
              channel: string;
              content?: null
              | string;
              edited?: null | string;
              embeds?:
                  | null
                  | (
                      | {
                          colour?: null
                          | string;
                          description?: null | string;
                          icon_url?: null | string;
                          image?:
                              | null
                              | {
                                  height: number;
                                  size: "Large"
                                  | "Preview";
                                  url: string;
                                  width: number;
                              };
                          original_url?: null
                          | string;
                          site_name?: null | string;
                          special?:
                              | null
                              | { type: "None" }
                              | { type: "GIF" }
                              | { id: string; timestamp?: null | string; type: "YouTube" }
                              | { content_type: "Channel"; id: string; type: "Lightspeed" }
                              | {
                                  content_type: "Video" | "Channel" | "Clip";
                                  id: string;
                                  type: "Twitch";
                              }
                              | { content_type: string; id: string; type: "Spotify" }
                              | { type: "Soundcloud" }
                              | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                              | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                              | { id: string; type: "Streamable" };
                          title?: null | string;
                          type: "Website";
                          url?: null | string;
                          video?: null | { height: number; url: string; width: number };
                      }
                      | {
                          height: number;
                          size: "Large"
                          | "Preview";
                          type: "Image";
                          url: string;
                          width: number;
                      }
                      | { height: number; type: "Video"; url: string; width: number }
                      | {
                          colour?: null | string;
                          description?: null | string;
                          icon_url?: null | string;
                          media?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: "File" }
                                      | { type: "Text" }
                                      | {
                                          animated?: (...) | (...) | (...) | (...);
                                          height: number;
                                          thumbhash?: (...) | (...) | (...);
                                          type: "Image";
                                          width: number;
                                      }
                                      | { height: number; type: "Video"; width: number }
                                      | { type: "Audio" };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          title?: null
                          | string;
                          type: "Text";
                          url?: null | string;
                      }
                      | { type: "None" }
                  )[];
              flags?: number;
              interactions?: {
                  reactions?: null | string[];
                  restrict_reactions?: boolean;
              };
              masquerade?: | null
              | { avatar?: null
              | string; colour?: null | string; name?: null | string };
              member?:
                  | null
                  | {
                      _id: { server: string; user: string };
                      avatar?:
                          | null
                          | {
                              _id: string;
                              content_type: string;
                              deleted?: null
                              | boolean;
                              filename: string;
                              message_id?: null | string;
                              metadata:
                                  | { type: "File" }
                                  | { type: "Text" }
                                  | {
                                      animated?: null | boolean;
                                      height: number;
                                      thumbhash?: null | number[];
                                      type: "Image";
                                      width: number;
                                  }
                                  | { height: number; type: "Video"; width: number }
                                  | { type: "Audio" };
                              object_id?: null | string;
                              reported?: null | boolean;
                              server_id?: null | string;
                              size: number;
                              tag: string;
                              user_id?: null | string;
                          };
                      can_publish?: boolean;
                      can_receive?: boolean;
                      joined_at: string;
                      nickname?: null
                      | string;
                      pronouns?: null | string;
                      roles?: string[];
                      timeout?: null | string;
                  };
              mentions?: null
              | string[];
              nonce?: null | string;
              pinned?: null | boolean;
              reactions?: { [key: string]: string[] };
              replies?: null | string[];
              role_mentions?: null | string[];
              system?:
                  | null
                  | { content: string; type: "text" }
                  | { by: string; id: string; type: "user_added" }
                  | { by: string; id: string; type: "user_remove" }
                  | { id: string; type: "user_joined" }
                  | { id: string; type: "user_left" }
                  | { id: string; type: "user_kicked" }
                  | { id: string; type: "user_banned" }
                  | { by: string; name: string; type: "channel_renamed" }
                  | { by: string; type: "channel_description_changed" }
                  | { by: string; type: "channel_icon_changed" }
                  | { from: string; to: string; type: "channel_ownership_changed" }
                  | { by: string; id: string; type: "message_pinned" }
                  | { by: string; id: string; type: "message_unpinned" }
                  | { by: string; finished_at?: null | string; type: "call_started" };
              user?:
                  | null
                  | {
                      _id: string;
                      avatar?: | null
                      | {
                          _id: string;
                          content_type: string;
                          deleted?: null
                          | boolean;
                          filename: string;
                          message_id?: null | string;
                          metadata:
                              | { type: "File" }
                              | { type: "Text" }
                              | {
                                  animated?: null | boolean;
                                  height: number;
                                  thumbhash?: null | number[];
                                  type: "Image";
                                  width: number;
                              }
                              | { height: number; type: "Video"; width: number }
                              | { type: "Audio" };
                          object_id?: null | string;
                          reported?: null | boolean;
                          server_id?: null | string;
                          size: number;
                          tag: string;
                          user_id?: null | string;
                      };
                      badges?: number;
                      bot?: null
                      | { owner: string };
                      discriminator: string;
                      display_name?: null | string;
                      flags?: number;
                      online: boolean;
                      privileged?: boolean;
                      pronouns?: null | string;
                      relations?: {
                          _id: string;
                          status:
                              | "User"
                              | "None"
                              | "Friend"
                              | "Outgoing"
                              | "Incoming"
                              | "Blocked"
                              | "BlockedOther";
                      }[];
                      relationship: | "User"
                      | "None"
                      | "Friend"
                      | "Outgoing"
                      | "Incoming"
                      | "Blocked"
                      | "BlockedOther";
                      status?: | null
                      | {
                          presence?: null
                          | "Online"
                          | "Idle"
                          | "Focus"
                          | "Busy"
                          | "Invisible";
                          text?: null | string;
                      };
                      username: string;
                  };
              webhook?: null
              | { avatar?: null | string; name: string };
          },
      >

    • React to a message

      +

    Returns Promise<
        {
            _id: string;
            attachments?: | null
            | {
                _id: string;
                content_type: string;
                deleted?: null
                | boolean;
                filename: string;
                message_id?: null | string;
                metadata:
                    | { type: "File" }
                    | { type: "Text" }
                    | {
                        animated?: null | boolean;
                        height: number;
                        thumbhash?: null | number[];
                        type: "Image";
                        width: number;
                    }
                    | { height: number; type: "Video"; width: number }
                    | { type: "Audio" };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: (...) | (...) | (...) | (...);
                                        height: number;
                                        thumbhash?: (...) | (...) | (...);
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        },
    >

    • React to a message

      Parameters

      • emoji: string

        Unicode or emoji ID

        -

      Returns Promise<void>

    • Reply to Message

      -

      Parameters

      • data:
            | string
            | Omit<
                {
                    attachments?: null
                    | string[];
                    content?: null | string;
                    embeds?:
                        | null
                        | {
                            colour?: null
                            | string;
                            description?: null | string;
                            icon_url?: null | string;
                            media?: null | string;
                            title?: null | string;
                            url?: null | string;
                        }[];
                    flags?: null
                    | number;
                    interactions?:
                        | null
                        | { reactions?: null
                        | string[]; restrict_reactions?: boolean };
                    masquerade?:
                        | null
                        | {
                            avatar?: null
                            | string;
                            colour?: null | string;
                            name?: null | string;
                        };
                    nonce?: null
                    | string;
                    replies?:
                        | null
                        | { fail_if_not_exists?: null
                        | boolean; id: string; mention: boolean }[];
                },
                "nonce",
            > & { nonce?: string }
      • mention: boolean = true

      Returns undefined | Promise<Message>

    • Un-react from a message

      +

    Returns Promise<void>

    • Reply to Message

      +

      Parameters

      • data:
            | string
            | Omit<
                {
                    attachments?: null
                    | string[];
                    content?: null | string;
                    embeds?:
                        | null
                        | {
                            colour?: null
                            | string;
                            description?: null | string;
                            icon_url?: null | string;
                            media?: null | string;
                            title?: null | string;
                            url?: null | string;
                        }[];
                    flags?: null
                    | number;
                    interactions?:
                        | null
                        | { reactions?: null
                        | string[]; restrict_reactions?: boolean };
                    masquerade?:
                        | null
                        | {
                            avatar?: null
                            | string;
                            colour?: null | string;
                            name?: null | string;
                        };
                    nonce?: null
                    | string;
                    replies?:
                        | null
                        | { fail_if_not_exists?: null
                        | boolean; id: string; mention: boolean }[];
                },
                "nonce",
            > & { nonce?: string }
      • mention: boolean = true

      Returns undefined | Promise<Message>

    • Un-react from a message

      Parameters

      • emoji: string

        Unicode or emoji ID

      • deleteAll: boolean = false

        Remove all reactions

        -

      Returns Promise<void>

    +

    Returns Promise<void>

    diff --git a/classes/MessageCollection.html b/classes/MessageCollection.html index 6e7c4718..4546d0f1 100644 --- a/classes/MessageCollection.html +++ b/classes/MessageCollection.html @@ -1,9 +1,10 @@ MessageCollection | stoat.js

    Class MessageCollection

    Collection of Messages

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedMessage
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedMessage>>

    Methods

    • Create a new instance of an object

      +

    Returns MessageCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedMessage
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedMessage>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: Message

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Delete an object

      +

    Returns void

    Returns void

    Returns Message[]

    Returns undefined | Message

    Returns Message

    Returns undefined | Message

    Returns O[]

    +
    diff --git a/classes/MessageEmbed.html b/classes/MessageEmbed.html index b3df190b..3a73ab88 100644 --- a/classes/MessageEmbed.html +++ b/classes/MessageEmbed.html @@ -1,12 +1,12 @@ MessageEmbed | stoat.js

    Class MessageEmbedAbstract

    Message Embed

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Constructors

    Properties

    client?: Client
    type: "Text" | "Video" | "Image" | "Website" | "None"

    Methods

    • Create an Embed from an API Embed

      +

    Returns MessageEmbed

    Properties

    client?: Client
    type: "Text" | "Video" | "Image" | "Website" | "None"

    Methods

    • Create an Embed from an API Embed

      Parameters

      • client: Client

        Client

      • embed:
            | {
                colour?: null
                | string;
                description?: null | string;
                icon_url?: null | string;
                image?:
                    | null
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        url: string;
                        width: number;
                    };
                original_url?: null
                | string;
                site_name?: null | string;
                special?:
                    | null
                    | { type: "None" }
                    | { type: "GIF" }
                    | { id: string; timestamp?: null | string; type: "YouTube" }
                    | { content_type: "Channel"; id: string; type: "Lightspeed" }
                    | {
                        content_type: "Video" | "Channel" | "Clip";
                        id: string;
                        type: "Twitch";
                    }
                    | { content_type: string; id: string; type: "Spotify" }
                    | { type: "Soundcloud" }
                    | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                    | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                    | { id: string; type: "Streamable" };
                title?: null | string;
                type: "Website";
                url?: null | string;
                video?: null | { height: number; url: string; width: number };
            }
            | {
                height: number;
                size: "Large"
                | "Preview";
                type: "Image";
                url: string;
                width: number;
            }
            | { height: number; type: "Video"; url: string; width: number }
            | {
                colour?: null | string;
                description?: null | string;
                icon_url?: null | string;
                media?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                title?: null
                | string;
                type: "Text";
                url?: null | string;
            }
            | { type: "None" }

        Data

        • {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              image?:
                  | null
                  | {
                      height: number;
                      size: "Large"
                      | "Preview";
                      url: string;
                      width: number;
                  };
              original_url?: null
              | string;
              site_name?: null | string;
              special?:
                  | null
                  | { type: "None" }
                  | { type: "GIF" }
                  | { id: string; timestamp?: null | string; type: "YouTube" }
                  | { content_type: "Channel"; id: string; type: "Lightspeed" }
                  | {
                      content_type: "Video" | "Channel" | "Clip";
                      id: string;
                      type: "Twitch";
                  }
                  | { content_type: string; id: string; type: "Spotify" }
                  | { type: "Soundcloud" }
                  | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                  | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                  | { id: string; type: "Streamable" };
              title?: null | string;
              type: "Website";
              url?: null | string;
              video?: null | { height: number; url: string; width: number };
          }
          • Optionalcolour?: null | string

            CSS Colour

            @@ -37,4 +37,4 @@
          • Optionaltitle?: null | string

            Title of text embed

          • type: "Text"
          • Optionalurl?: null | string

            URL for title

        • { type: "None" }

      Returns MessageEmbed

      Embed

      -
    +
    diff --git a/classes/MessagePinnedSystemMessage.html b/classes/MessagePinnedSystemMessage.html index efe12c63..d7b4d552 100644 --- a/classes/MessagePinnedSystemMessage.html +++ b/classes/MessagePinnedSystemMessage.html @@ -1,5 +1,5 @@ MessagePinnedSystemMessage | stoat.js

    Class MessagePinnedSystemMessage

    Message Pinned System Message

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    byId client? messageId @@ -10,9 +10,9 @@

    Constructors

    • Construct System Message

      Parameters

      • client: Client

        Client

      • systemMessage: (
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }
        ) & { type: "message_pinned" | "message_unpinned" }

        System Message

        -

      Returns MessagePinnedSystemMessage

    Properties

    byId: string
    client?: Client
    messageId: string
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      +

    Returns MessagePinnedSystemMessage

    Properties

    byId: string
    client?: Client
    messageId: string
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Accessors

    Methods

    • Create an System Message from an API System Message

      Parameters

      • client: Client

        Client

      • parent: {
            _id: string;
            attachments?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: null | boolean;
                                        height: number;
                                        thumbhash?: null | (...)[];
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        }
        • _id: string

          Unique Id

        • Optionalattachments?:
              | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[]

          Array of attachments

          @@ -40,4 +40,4 @@
        • Optionaluser?:
              | null
              | {
                  _id: string;
                  avatar?: | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
                  badges?: number;
                  bot?: null
                  | { owner: string };
                  discriminator: string;
                  display_name?: null | string;
                  flags?: number;
                  online: boolean;
                  privileged?: boolean;
                  pronouns?: null | string;
                  relations?: {
                      _id: string;
                      status:
                          | "User"
                          | "None"
                          | "Friend"
                          | "Outgoing"
                          | "Incoming"
                          | "Blocked"
                          | "BlockedOther";
                  }[];
                  relationship: | "User"
                  | "None"
                  | "Friend"
                  | "Outgoing"
                  | "Incoming"
                  | "Blocked"
                  | "BlockedOther";
                  status?: | null
                  | {
                      presence?: null
                      | "Online"
                      | "Idle"
                      | "Focus"
                      | "Busy"
                      | "Invisible";
                      text?: null | string;
                  };
                  username: string;
              }

          The user that sent this message

        • Optionalwebhook?: null | { avatar?: null | string; name: string }

          The webhook that sent this message

      • message:
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }

      Returns SystemMessage

      System Message

      -
    +
    diff --git a/classes/MessageWebhook.html b/classes/MessageWebhook.html index 6969deb6..bf0b3515 100644 --- a/classes/MessageWebhook.html +++ b/classes/MessageWebhook.html @@ -1,5 +1,5 @@ MessageWebhook | stoat.js

    Class MessageWebhook

    Message Webhook Class

    -

    Constructors

    Constructors

    Properties

    avatar? id name @@ -7,5 +7,5 @@

    Constructors

    • Construct Message Webhook

      Parameters

      • client: Client

        Client

      • webhook: { avatar?: null | string; name: string }

        Webhook data

        -
      • id: string

      Returns MessageWebhook

    Properties

    avatar?: File
    id: string
    name: string

    Accessors

    +
  • id: string
  • Returns MessageWebhook

    Properties

    avatar?: File
    id: string
    name: string

    Accessors

    diff --git a/classes/PublicBot.html b/classes/PublicBot.html index a6df5b4a..e28104fe 100644 --- a/classes/PublicBot.html +++ b/classes/PublicBot.html @@ -1,5 +1,5 @@ PublicBot | stoat.js

    Class PublicBot

    Public Bot Class

    -

    Constructors

    Constructors

    Properties

    avatar? description? id @@ -13,8 +13,8 @@
  • Optionalavatar?: string

    Profile Avatar

  • Optionaldescription?: string

    Profile Description

  • username: string

    Bot Username

    -
  • Returns PublicBot

    Properties

    avatar?: File
    description?: string
    id: string
    username: string

    Methods

    • Add the bot to a group

      +

    Returns PublicBot

    Properties

    avatar?: File
    description?: string
    id: string
    username: string

    Methods

    • Add the bot to a server

      +

    Returns void

    +

    Returns void

    diff --git a/classes/PublicChannelInvite.html b/classes/PublicChannelInvite.html index 76f292b4..16923dd7 100644 --- a/classes/PublicChannelInvite.html +++ b/classes/PublicChannelInvite.html @@ -1,12 +1,12 @@ PublicChannelInvite | stoat.js

    Class PublicChannelInviteAbstract

    Public Channel Invite

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Constructors

    Properties

    client?: Client
    type: "Group" | "Server" | "None"

    Methods

    • Create an Invite from an API Invite Response

      +

    Returns PublicChannelInvite

    Properties

    client?: Client
    type: "Group" | "Server" | "None"

    Methods

    • Create an Invite from an API Invite Response

      Parameters

      • client: Client

        Client

      • invite:
            | {
                channel_description?: null
                | string;
                channel_id: string;
                channel_name: string;
                code: string;
                member_count: number;
                server_banner?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                server_flags?: null
                | number;
                server_icon?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                server_id: string;
                server_name: string;
                type: "Server";
                user_avatar?: | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                };
                user_name: string;
            }
            | {
                channel_description?: null
                | string;
                channel_id: string;
                channel_name: string;
                code: string;
                type: "Group";
                user_avatar?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                user_name: string;
            }

        Data

        • {
              channel_description?: null | string;
              channel_id: string;
              channel_name: string;
              code: string;
              member_count: number;
              server_banner?:
                  | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
              server_flags?: null
              | number;
              server_icon?:
                  | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
              server_id: string;
              server_name: string;
              type: "Server";
              user_avatar?: | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              };
              user_name: string;
          }
          • Optionalchannel_description?: null | string

            Description of server channel

            @@ -30,4 +30,4 @@
          • type: "Group"
          • Optionaluser_avatar?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }

            Avatar of the user who created the invite

          • user_name: string

            Name of user who created the invite

      Returns PublicChannelInvite

      Invite

      -
    +
    diff --git a/classes/Server.html b/classes/Server.html index f2fbbae2..f3c5656e 100644 --- a/classes/Server.html +++ b/classes/Server.html @@ -1,5 +1,5 @@ Server | stoat.js

    Class Server

    Server Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    $exists analytics @@ -63,62 +63,62 @@

    Constructors

    Properties

    id: string

    Accessors

    • get animatedIconURL(): undefined | string

      URL to the server's animated icon

      -

      Returns undefined | string

    • get bannerURL(): undefined | string

      URL to the server's banner

      -

      Returns undefined | string

    • get categories(): | undefined
      | { channels: string[]; id: string; title: string }[]

      Categories

      +

    Returns Server

    Properties

    id: string

    Accessors

    • get animatedIconURL(): undefined | string

      URL to the server's animated icon

      +

      Returns undefined | string

    • get bannerURL(): undefined | string

      URL to the server's banner

      +

      Returns undefined | string

    • get categories(): | undefined
      | { channels: string[]; id: string; title: string }[]

      Categories

      Returns undefined | { channels: string[]; id: string; title: string }[]

      • undefined
      • { channels: string[]; id: string; title: string }[]
        • channels: string[]

          Channels in this category

        • id: string

          Unique ID for this category

        • title: string

          Title for this category

          -
    • get mentions(): string[]

      Find all message IDs of unread messages

      +

    Methods

    Methods

    • Delete the underlying server

      Parameters

      • OptionalleaveEvent: boolean

        Whether we are leaving

        -

      Returns void

    • Ban user from this server

      +

    Returns void

    • Ban user from this server

      Parameters

      • user: string | User | ServerMember

        User

      • options: { delete_message_seconds?: null | number; reason?: null | string } = {}

        Ban options

        • Optionaldelete_message_seconds?: null | number

          Format: int64

          Messages to delete in seconds

        • Optionalreason?: null | string

          Ban reason

          -

      Returns Promise<ServerBan>

    • Create a channel

      +

    Returns Promise<ServerBan>

    • Create a channel

      Parameters

      • data: {
            description?: null | string;
            name: string;
            nsfw?: null | boolean;
            type?: "Text" | "Voice";
            voice?: null | { max_users?: null | number };
        }

        Channel create route data

        • Optionaldescription?: null | string

          Channel description

        • name: string

          Channel name

          @@ -129,18 +129,18 @@ priority status from all channels in the server.

        • Optionalvoice?: null | { max_users?: null | number }

          Voice Information for when this channel is also a voice channel

      Returns Promise<Channel>

      The newly-created channel

      -
    • Create an emoji on the server

      +
    • Create an emoji on the server

      Parameters

      • autumnId: string

        Autumn Id

      • options: Omit<
            {
                name: string;
                nsfw?: boolean;
                parent: { id: string; type: "Server" }
                | { type: "Detached" };
            },
            "parent",
        >

        Options

        -

      Returns Promise<Emoji>

    • Create role

      +

    Returns Promise<Emoji>

    • Create role

      Parameters

      • name: string

        Role name

        -

      Returns Promise<
          {
              id: string;
              role: {
                  _id: string;
                  colour?: null
                  | string;
                  hoist?: boolean;
                  icon?:
                      | null
                      | {
                          _id: string;
                          content_type: string;
                          deleted?: null
                          | boolean;
                          filename: string;
                          message_id?: null | string;
                          metadata:
                              | { type: "File" }
                              | { type: "Text" }
                              | {
                                  animated?: null | boolean;
                                  height: number;
                                  thumbhash?: null | number[];
                                  type: "Image";
                                  width: number;
                              }
                              | { height: number; type: "Video"; width: number }
                              | { type: "Audio" };
                          object_id?: null | string;
                          reported?: null | boolean;
                          server_id?: null | string;
                          size: number;
                          tag: string;
                          user_id?: null | string;
                      };
                  name: string;
                  permissions: { a: number; d: number };
                  rank?: number;
              };
          },
      >

    • Delete or leave a server

      +

    Returns Promise<
        {
            id: string;
            role: {
                _id: string;
                colour?: null
                | string;
                hoist?: boolean;
                icon?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                name: string;
                permissions: { a: number; d: number };
                rank?: number;
            };
        },
    >

    • Delete or leave a server

      Parameters

      • OptionalleaveSilently: boolean

        Whether to not send a message on leave

        -

      Returns Promise<void>

    • Delete emoji

      +

    Returns Promise<void>

    • Delete emoji

      Parameters

      • emojiId: string

        Emoji ID

        -

      Returns Promise<void>

    • Delete role

      +

    Returns Promise<void>

    • Delete role

      Parameters

      • roleId: string

        Role ID

        -

      Returns Promise<void>

    • Edit a server

      +

    Returns Promise<void>

    • Edit a server

      Parameters

      • data: {
            analytics?: null | boolean;
            banner?: null | string;
            categories?: null | { channels: string[]; id: string; title: string }[];
            description?: null | string;
            discoverable?: null | boolean;
            flags?: null | number;
            icon?: null | string;
            name?: null | string;
            owner?: null | string;
            remove?: (
                "Description"
                | "Icon"
                | "Categories"
                | "SystemMessages"
                | "Banner"
            )[];
            system_messages?:
                | null
                | {
                    user_banned?: null
                    | string;
                    user_joined?: null | string;
                    user_kicked?: null | string;
                    user_left?: null | string;
                };
        }

        Changes

        • Optionalanalytics?: null | boolean

          Whether analytics should be collected for this server

          Must be enabled in order to show up on Revolt Discover.

          @@ -158,7 +158,7 @@ priority status from all channels in the server.

        • Optionalsystem_messages?:
              | null
              | {
                  user_banned?: null
                  | string;
                  user_joined?: null | string;
                  user_kicked?: null | string;
                  user_left?: null | string;
              }

          System message configuration

          -

      Returns Promise<void>

    • Edit a role

      +

    Returns Promise<void>

    • Edit a role

      Parameters

      • roleId: string

        Role ID

      • data: {
            colour?: null | string;
            hoist?: null | boolean;
            icon?: null | string;
            name?: null | string;
            rank?: null | number;
            remove?: ("Icon" | "Colour")[];
        }

        Role editing route data

        • Optionalcolour?: null | string

          Role colour

          @@ -173,50 +173,50 @@ priority status from all channels in the server.

          []
           
          -

      Returns Promise<ServerRole>

    • Fetch a server's bans

      +

    Returns Promise<ServerRole>

    • Parameters

      • Optionalparams: {
            after?: null | string;
            before?: null | string;
            limit?: null | number;
            target?: null | string;
            type?: null | string[];
            user?: null | string;
        }
    • Parameters

      • Optionalparams: {
            after?: null | string;
            before?: null | string;
            limit?: null | number;
            target?: null | string;
            type?: null | string[];
            user?: null | string;
        }
        • Optionalafter?: null | string

          Entries after a certain entry id

        • Optionalbefore?: null | string

          Entries before a certain entry id

        • Optionallimit?: null | number

          Maximum number of entries to fetch

        • Optionaltarget?: null | string

          Filter by who the action is targetting

        • Optionaltype?: null | string[]

          Filter by the action type

        • Optionaluser?: null | string

          Filter by who ran the action

      Returns Promise<
          {
              audit_logs: {
                  _id: string;
                  action: | { author: string; channel: string; type: "MessageDelete" }
                  | { channel: string; count: number; type: "MessageBulkDelete" }
                  | {
                      author: string;
                      channel: string;
                      message: string;
                      type: "MessagePin";
                  }
                  | {
                      author: string;
                      channel: string;
                      message: string;
                      type: "MessageUnpin";
                  }
                  | { type: "BanCreate"; user: string }
                  | { type: "BanDelete"; user: string }
                  | { channel: string; name: string; type: "ChannelCreate" }
                  | {
                      after: {
                          active?: null | boolean;
                          default_permissions?: null | { a: number; d: number };
                          description?: null | string;
                          icon?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: ... }
                                      | { type: ... }
                                      | {
                                          animated?: ...;
                                          height: ...;
                                          thumbhash?: ...;
                                          type: ...;
                                          width: ...;
                                      }
                                      | { height: ...; type: ...; width: ... }
                                      | { type: ... };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          last_message_id?: null
                          | string;
                          name?: null | string;
                          nsfw?: null | boolean;
                          owner?: null | string;
                          permissions?: null | number;
                          role_permissions?: null | { [key: string]: { a: number; d: number } };
                          slowmode?: null | number;
                          voice?: null | { max_users?: null | number };
                      };
                      before: {
                          active?: null
                          | boolean;
                          default_permissions?: null | { a: number; d: number };
                          description?: null | string;
                          icon?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: ... }
                                      | { type: ... }
                                      | {
                                          animated?: ...;
                                          height: ...;
                                          thumbhash?: ...;
                                          type: ...;
                                          width: ...;
                                      }
                                      | { height: ...; type: ...; width: ... }
                                      | { type: ... };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          last_message_id?: null
                          | string;
                          name?: null | string;
                          nsfw?: null | boolean;
                          owner?: null | string;
                          permissions?: null | number;
                          role_permissions?: null | { [key: string]: { a: number; d: number } };
                          slowmode?: null | number;
                          voice?: null | { max_users?: null | number };
                      };
                      channel: string;
                      type: "ChannelEdit";
                  }
                  | {
                      channel: string;
                      permissions: { allow: number; deny: number };
                      role: string;
                      type: "ChannelRolePermissionsEdit";
                  }
                  | { channel: string; name: string; type: "ChannelDelete" }
                  | {
                      after: {
                          avatar?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: ... }
                                      | { type: ... }
                                      | {
                                          animated?: ...;
                                          height: ...;
                                          thumbhash?: ...;
                                          type: ...;
                                          width: ...;
                                      }
                                      | { height: ...; type: ...; width: ... }
                                      | { type: ... };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          can_publish?: null
                          | boolean;
                          can_receive?: null | boolean;
                          id?: null | { server: string; user: string };
                          joined_at?: null | string;
                          nickname?: null | string;
                          pronouns?: null | string;
                          roles?: null | string[];
                          timeout?: null | string;
                      };
                      before: {
                          avatar?: | null
                          | {
                              _id: string;
                              content_type: string;
                              deleted?: null
                              | boolean;
                              filename: string;
                              message_id?: null | string;
                              metadata:
                                  | { type: ... }
                                  | { type: ... }
                                  | {
                                      animated?: ...;
                                      height: ...;
                                      thumbhash?: ...;
                                      type: ...;
                                      width: ...;
                                  }
                                  | { height: ...; type: ...; width: ... }
                                  | { type: ... };
                              object_id?: null | string;
                              reported?: null | boolean;
                              server_id?: null | string;
                              size: number;
                              tag: string;
                              user_id?: null | string;
                          };
                          can_publish?: null
                          | boolean;
                          can_receive?: null | boolean;
                          id?: null | { server: string; user: string };
                          joined_at?: null | string;
                          nickname?: null | string;
                          pronouns?: null | string;
                          roles?: null | string[];
                          timeout?: null | string;
                      };
                      type: "MemberEdit";
                      user: string;
                  }
                  | { type: "MemberKick"; user: string }
                  | {
                      after: {
                          analytics?: null | boolean;
                          banner?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: ... }
                                      | { type: ... }
                                      | {
                                          animated?: ...;
                                          height: ...;
                                          thumbhash?: ...;
                                          type: ...;
                                          width: ...;
                                      }
                                      | { height: ...; type: ...; width: ... }
                                      | { type: ... };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          categories?: null
                          | { channels: (...)[]; id: string; title: string }[];
                          channels?: null | string[];
                          default_permissions?: null | number;
                          description?: null | string;
                          discoverable?: null | boolean;
                          flags?: null | number;
                          icon?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: ... }
                                      | { type: ... }
                                      | {
                                          animated?: ...;
                                          height: ...;
                                          thumbhash?: ...;
                                          type: ...;
                                          width: ...;
                                      }
                                      | { height: ...; type: ...; width: ... }
                                      | { type: ... };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          id?: null
                          | string;
                          name?: null | string;
                          nsfw?: null | boolean;
                          owner?: null | string;
                          roles?:
                              | null
                              | {
                                  [key: string]: {
                                      _id: string;
                                      colour?: (...)
                                      | (...)
                                      | (...);
                                      hoist?: (...) | (...) | (...);
                                      icon?: (...) | (...) | (...);
                                      name: string;
                                      permissions: { a: ...; d: ... };
                                      rank?: (...) | (...);
                                  };
                              };
                          system_messages?: | null
                          | {
                              user_banned?: null
                              | string;
                              user_joined?: null | string;
                              user_kicked?: null | string;
                              user_left?: null | string;
                          };
                      };
                      before: {
                          analytics?: null
                          | boolean;
                          banner?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: ... }
                                      | { type: ... }
                                      | {
                                          animated?: ...;
                                          height: ...;
                                          thumbhash?: ...;
                                          type: ...;
                                          width: ...;
                                      }
                                      | { height: ...; type: ...; width: ... }
                                      | { type: ... };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          categories?: null
                          | { channels: (...)[]; id: string; title: string }[];
                          channels?: null | string[];
                          default_permissions?: null | number;
                          description?: null | string;
                          discoverable?: null | boolean;
                          flags?: null | number;
                          icon?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: ... }
                                      | { type: ... }
                                      | {
                                          animated?: ...;
                                          height: ...;
                                          thumbhash?: ...;
                                          type: ...;
                                          width: ...;
                                      }
                                      | { height: ...; type: ...; width: ... }
                                      | { type: ... };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          id?: null
                          | string;
                          name?: null | string;
                          nsfw?: null | boolean;
                          owner?: null | string;
                          roles?:
                              | null
                              | {
                                  [key: string]: {
                                      _id: string;
                                      colour?: (...)
                                      | (...)
                                      | (...);
                                      hoist?: (...) | (...) | (...);
                                      icon?: (...) | (...) | (...);
                                      name: string;
                                      permissions: { a: ...; d: ... };
                                      rank?: (...) | (...);
                                  };
                              };
                          system_messages?: | null
                          | {
                              user_banned?: null
                              | string;
                              user_joined?: null | string;
                              user_kicked?: null | string;
                              user_left?: null | string;
                          };
                      };
                      type: "ServerEdit";
                  }
                  | {
                      after: {
                          colour?: null
                          | string;
                          hoist?: null | boolean;
                          icon?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: ... }
                                      | { type: ... }
                                      | {
                                          animated?: ...;
                                          height: ...;
                                          thumbhash?: ...;
                                          type: ...;
                                          width: ...;
                                      }
                                      | { height: ...; type: ...; width: ... }
                                      | { type: ... };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          id?: null
                          | string;
                          name?: null | string;
                          permissions?: null | { a: number; d: number };
                          rank?: null | number;
                      };
                      before: {
                          colour?: null
                          | string;
                          hoist?: null | boolean;
                          icon?:
                              | null
                              | {
                                  _id: string;
                                  content_type: string;
                                  deleted?: null
                                  | boolean;
                                  filename: string;
                                  message_id?: null | string;
                                  metadata:
                                      | { type: ... }
                                      | { type: ... }
                                      | {
                                          animated?: ...;
                                          height: ...;
                                          thumbhash?: ...;
                                          type: ...;
                                          width: ...;
                                      }
                                      | { height: ...; type: ...; width: ... }
                                      | { type: ... };
                                  object_id?: null | string;
                                  reported?: null | boolean;
                                  server_id?: null | string;
                                  size: number;
                                  tag: string;
                                  user_id?: null | string;
                              };
                          id?: null
                          | string;
                          name?: null | string;
                          permissions?: null | { a: number; d: number };
                          rank?: null | number;
                      };
                      role: string;
                      type: "RoleEdit";
                  }
                  | { name: string; role: string; type: "RoleCreate" }
                  | { name: string; role: string; type: "RoleDelete" }
                  | { after: string[]; before: string[]; type: "RolesReorder" }
                  | { channel: string; invite: string; type: "InviteCreate" }
                  | { channel: string; invite: string; type: "InviteDelete" }
                  | {
                      channel: string;
                      name: string;
                      type: "WebhookCreate";
                      webhook: string;
                  }
                  | {
                      channel: string;
                      name: string;
                      type: "WebhookDelete";
                      webhook: string;
                  }
                  | { emoji: string; name: string; type: "EmojiCreate" }
                  | {
                      after: { name?: null | string };
                      before: { name?: null | string };
                      emoji: string;
                      type: "EmojiUpdate";
                  }
                  | { emoji: string; name: string; type: "EmojiDelete" };
                  reason?: null | string;
                  server: string;
                  target?: null | string;
                  user: string;
              }[];
              members: ServerMember[];
              users: User[];
          },
      >

      This server's tracked actions, members and users

      -
    • Helper function to retrieve cached server member by their ID in this server

      Parameters

      • userId: string

        User's ID

      Returns undefined | ServerMember

      Server Member (if cached)

      -
    • Check whether we have a given permission in a server

      +
    • Check whether we have a given permission in a server

      Parameters

      • ...permission: (
            | "Video"
            | "Masquerade"
            | "ManageChannel"
            | "ManageServer"
            | "ManagePermissions"
            | "ManageRole"
            | "ManageCustomisation"
            | "KickMembers"
            | "BanMembers"
            | "TimeoutMembers"
            | "AssignRoles"
            | "ChangeNickname"
            | "ManageNicknames"
            | "ChangeAvatar"
            | "RemoveAvatars"
            | "ViewChannel"
            | "ReadMessageHistory"
            | "SendMessage"
            | "ManageMessages"
            | "ManageWebhooks"
            | "InviteOthers"
            | "SendEmbeds"
            | "UploadFiles"
            | "React"
            | "BypassSlowmode"
            | "Connect"
            | "Speak"
            | "MuteMembers"
            | "DeafenMembers"
            | "MoveMembers"
            | "Listen"
            | "MentionEveryone"
            | "MentionRoles"
            | "ViewAuditLogs"
            | "GrantAllSafe"
        )[]

        Permission Names

      Returns boolean

      Whether we have this permission

      -
    • Check whether we have at least one of the given permissions in a server

      +

    Returns Promise<void>

    • Check whether we have at least one of the given permissions in a server

      Parameters

      • ...permission: (
            | "Video"
            | "Masquerade"
            | "ManageChannel"
            | "ManageServer"
            | "ManagePermissions"
            | "ManageRole"
            | "ManageCustomisation"
            | "KickMembers"
            | "BanMembers"
            | "TimeoutMembers"
            | "AssignRoles"
            | "ChangeNickname"
            | "ManageNicknames"
            | "ChangeAvatar"
            | "RemoveAvatars"
            | "ViewChannel"
            | "ReadMessageHistory"
            | "SendMessage"
            | "ManageMessages"
            | "ManageWebhooks"
            | "InviteOthers"
            | "SendEmbeds"
            | "UploadFiles"
            | "React"
            | "BypassSlowmode"
            | "Connect"
            | "Speak"
            | "MuteMembers"
            | "DeafenMembers"
            | "MoveMembers"
            | "Listen"
            | "MentionEveryone"
            | "MentionRoles"
            | "ViewAuditLogs"
            | "GrantAllSafe"
        )[]

        Permission Names

      Returns boolean

      Whether we have one of the permissions

      -
    • Query members from a server by name

      Parameters

      • query: string

        Name

      Returns Promise<{ members: ServerMember[]; users: User[] }>

      List of the server's members and their user objects

      -
    • Set role permissions

      +
    • Set role permissions

      Parameters

      • roleId: string = "default"

        Role Id, set to 'default' to affect all users

      • permissions: number | { allow: number; deny: number }

        Permission value

        • number
        • { allow: number; deny: number }
          • allow: number

            Format: uint64

            Allow bit flags

          • deny: number

            Format: uint64

            Disallow bit flags

            -

      Returns Promise<
          {
              _id: string;
              analytics?: boolean;
              banner?: | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              };
              categories?: null
              | { channels: string[]; id: string; title: string }[];
              channels: string[];
              default_permissions: number;
              description?: null | string;
              discoverable?: boolean;
              flags?: number;
              icon?:
                  | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
              name: string;
              nsfw?: boolean;
              owner: string;
              roles?: {
                  [key: string]: {
                      _id: string;
                      colour?: null
                      | string;
                      hoist?: boolean;
                      icon?:
                          | null
                          | {
                              _id: string;
                              content_type: string;
                              deleted?: null
                              | boolean;
                              filename: string;
                              message_id?: null | string;
                              metadata:
                                  | { type: "File" }
                                  | { type: "Text" }
                                  | {
                                      animated?: null | boolean;
                                      height: number;
                                      thumbhash?: null | (...)[];
                                      type: "Image";
                                      width: number;
                                  }
                                  | { height: number; type: "Video"; width: number }
                                  | { type: "Audio" };
                              object_id?: null | string;
                              reported?: null | boolean;
                              server_id?: null | string;
                              size: number;
                              tag: string;
                              user_id?: null | string;
                          };
                      name: string;
                      permissions: { a: number; d: number };
                      rank?: number;
                  };
              };
              system_messages?: | null
              | {
                  user_banned?: null
                  | string;
                  user_joined?: null | string;
                  user_kicked?: null | string;
                  user_left?: null | string;
              };
          },
      >

    • Set ordering of roles

      +

    Returns Promise<
        {
            _id: string;
            analytics?: boolean;
            banner?: | null
            | {
                _id: string;
                content_type: string;
                deleted?: null
                | boolean;
                filename: string;
                message_id?: null | string;
                metadata:
                    | { type: "File" }
                    | { type: "Text" }
                    | {
                        animated?: null | boolean;
                        height: number;
                        thumbhash?: null | number[];
                        type: "Image";
                        width: number;
                    }
                    | { height: number; type: "Video"; width: number }
                    | { type: "Audio" };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            categories?: null
            | { channels: string[]; id: string; title: string }[];
            channels: string[];
            default_permissions: number;
            description?: null | string;
            discoverable?: boolean;
            flags?: number;
            icon?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                };
            name: string;
            nsfw?: boolean;
            owner: string;
            roles?: {
                [key: string]: {
                    _id: string;
                    colour?: null
                    | string;
                    hoist?: boolean;
                    icon?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | (...)[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    name: string;
                    permissions: { a: number; d: number };
                    rank?: number;
                };
            };
            system_messages?: | null
            | {
                user_banned?: null
                | string;
                user_joined?: null | string;
                user_kicked?: null | string;
                user_left?: null | string;
            };
        },
    >

    • Set ordering of roles

      Parameters

      • roleIds: string[]

        Role IDs

        -

      Returns Promise<void>

    • Parameters

      • OptionalexcludeOffline: boolean
      • OptionalexcludeOfflineUserCap: number

      Returns Promise<void>

    • Convert to string

      +

    Returns Promise<void>

    • Parameters

      • OptionalexcludeOffline: boolean

      Returns Promise<void>

    +

    Returns Promise<void>

    diff --git a/classes/ServerBan.html b/classes/ServerBan.html index 13150022..51d3a91d 100644 --- a/classes/ServerBan.html +++ b/classes/ServerBan.html @@ -1,5 +1,5 @@ ServerBan | stoat.js

    Class ServerBan

    Server Ban

    -

    Constructors

    Constructors

    Properties

    client id reason? @@ -17,8 +17,8 @@
  • Optionalavatar?:
        | null
        | {
            _id: string;
            content_type: string;
            deleted?: null
            | boolean;
            filename: string;
            message_id?: null | string;
            metadata:
                | { type: "File" }
                | { type: "Text" }
                | {
                    animated?: null | boolean;
                    height: number;
                    thumbhash?: null | number[];
                    type: "Image";
                    width: number;
                }
                | { height: number; type: "Video"; width: number }
                | { type: "Audio" };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }

    Avatar of the banned user

  • discriminator: string

    Discriminator of the banned user

  • username: string

    Username of the banned user

    -
  • Returns ServerBan

    Properties

    client: Client
    id: { server: string; user: string }

    Type declaration

    • server: string

      Server Id

      +

    Returns ServerBan

    Properties

    client: Client
    id: { server: string; user: string }

    Type declaration

    • server: string

      Server Id

    • user: string

      User Id

      -
    reason?: string
    user?: BannedUser

    Accessors

    Methods

    +
    reason?: string
    user?: BannedUser

    Accessors

    Methods

    diff --git a/classes/ServerCollection.html b/classes/ServerCollection.html index 16941921..b44f2858 100644 --- a/classes/ServerCollection.html +++ b/classes/ServerCollection.html @@ -1,9 +1,10 @@ ServerCollection | stoat.js

    Class ServerCollection

    Collection of Servers

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedServer
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedServer>>

    Methods

    • Create a new instance of an object

      +

    Returns ServerCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedServer
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedServer>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: Server

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Create a server

      +

    Returns void

    Returns void

    Returns Server[]

    Returns undefined | Server

    Returns Server

    Returns undefined | Server

    Returns O[]

    +
    diff --git a/classes/ServerInvite.html b/classes/ServerInvite.html index 2a56f2c5..d4b3d50a 100644 --- a/classes/ServerInvite.html +++ b/classes/ServerInvite.html @@ -1,5 +1,5 @@ ServerInvite | stoat.js

    Class ServerInvite

    Server Invite

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    channelId client? creatorId @@ -21,11 +21,11 @@
  • type: "Server"
  • { _id: string; channel: string; creator: string; type: "Group" }
    • _id: string

      Invite code

    • channel: string

      Id of the group channel this invite points to

    • creator: string

      Id of user who created this invite

      -
    • type: "Group"
    • type: "Server"

    Returns ServerInvite

    Properties

    channelId: string
    client?: Client
    creatorId: string
    id: string
    serverId: string
    type: "Group" | "Server" | "None"

    Accessors

    Methods

    • Create an Invite from an API Invite

      +
    • type: "Group"
    • type: "Server"

    Returns ServerInvite

    Properties

    channelId: string
    client?: Client
    creatorId: string
    id: string
    serverId: string
    type: "Group" | "Server" | "None"

    Accessors

    Methods

    • Create an Invite from an API Invite

      Parameters

      • client: Client

        Client

      • invite:
            | {
                _id: string;
                channel: string;
                creator: string;
                server: string;
                type: "Server";
            }
            | { _id: string; channel: string; creator: string; type: "Group" }

        Data

        • {
              _id: string;
              channel: string;
              creator: string;
              server: string;
              type: "Server";
          }
          • _id: string

            Invite code

            @@ -36,4 +36,4 @@
          • channel: string

            Id of the group channel this invite points to

          • creator: string

            Id of user who created this invite

          • type: "Group"

      Returns ChannelInvite

      Invite

      -
    +
    diff --git a/classes/ServerMember.html b/classes/ServerMember.html index 60432a47..846b4032 100644 --- a/classes/ServerMember.html +++ b/classes/ServerMember.html @@ -1,5 +1,5 @@ ServerMember | stoat.js

    Class ServerMember

    Server Member Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    $exists animatedAvatarURL @@ -32,32 +32,32 @@
  • id: { server: string; user: string }

    Id

    • server: string

      Server Id

    • user: string

      User Id

      -
  • Returns ServerMember

    Properties

    id: { server: string; user: string }

    Type declaration

    • server: string

      Server Id

      +

    Returns ServerMember

    Properties

    id: { server: string; user: string }

    Type declaration

    • server: string

      Server Id

    • user: string

      User Id

      -

    Accessors

    • get ranking(): number

      Member's ranking +

    Accessors

    Methods

    • Ban this member from the server

      +

      Returns number

    Methods

    • Ban this member from the server

      Parameters

      • options: { delete_message_seconds?: null | number; reason?: null | string }

        Ban options

        • Optionaldelete_message_seconds?: null | number

          Format: int64

          Messages to delete in seconds

        • Optionalreason?: null | string

          Ban reason

          -

      Returns Promise<void>

    • Edit a member

      +

    Returns Promise<void>

    • Edit a member

      Parameters

      • data: {
            avatar?: null | string;
            can_publish?: null | boolean;
            can_receive?: null | boolean;
            nickname?: null | string;
            pronouns?: null | string;
            remove?: (
                | "Avatar"
                | "Pronouns"
                | "Nickname"
                | "Roles"
                | "Timeout"
                | "CanReceive"
                | "CanPublish"
                | "JoinedAt"
                | "VoiceChannel"
            )[];
            roles?: null
            | string[];
            timeout?: null | string;
            voice_channel?: null | string;
        }

        Changes

        • Optionalavatar?: null | string

          Attachment Id to set for avatar

        • Optionalcan_publish?: null | boolean

          server-wide voice muted

          @@ -71,20 +71,20 @@ Smaller values are ranked as higher priority

        • Optionalroles?: null | string[]

          Array of role ids

        • Optionaltimeout?: null | string

          Timestamp this member is timed out until

        • Optionalvoice_channel?: null | string

          voice channel to move to if already in a voice channel

          -

      Returns Promise<void>

    • Get the permissions that this member has against a certain object

      +

    Returns Promise<void>

    • Check whether a member has a certain permission against a certain object

      +
    • Check whether a member has a certain permission against a certain object

      Parameters

      • target: Channel | Server

        Target object to check permissions against

      • ...permission: (
            | "Video"
            | "Masquerade"
            | "ManageChannel"
            | "ManageServer"
            | "ManagePermissions"
            | "ManageRole"
            | "ManageCustomisation"
            | "KickMembers"
            | "BanMembers"
            | "TimeoutMembers"
            | "AssignRoles"
            | "ChangeNickname"
            | "ManageNicknames"
            | "ChangeAvatar"
            | "RemoveAvatars"
            | "ViewChannel"
            | "ReadMessageHistory"
            | "SendMessage"
            | "ManageMessages"
            | "ManageWebhooks"
            | "InviteOthers"
            | "SendEmbeds"
            | "UploadFiles"
            | "React"
            | "BypassSlowmode"
            | "Connect"
            | "Speak"
            | "MuteMembers"
            | "DeafenMembers"
            | "MoveMembers"
            | "Listen"
            | "MentionEveryone"
            | "MentionRoles"
            | "ViewAuditLogs"
            | "GrantAllSafe"
        )[]

        Permission names to check for

      Returns boolean

      Whether the member has this permission

      -
    • Timeout this member until the given date

      Parameters

      • date: string

        ISO8601 timestamp to time out until

        -

      Returns Promise<void>

    • Convert to string

      +

    Returns Promise<void>

    +
    diff --git a/classes/ServerMemberCollection.html b/classes/ServerMemberCollection.html index 0876975d..fb0e53eb 100644 --- a/classes/ServerMemberCollection.html +++ b/classes/ServerMemberCollection.html @@ -1,9 +1,11 @@ ServerMemberCollection | stoat.js

    Class ServerMemberCollection

    Collection of Server Members

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedServerMember
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedServerMember>>

    Methods

    • Create a new instance of an object

      +

    Returns ServerMemberCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedServerMember
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedServerMember>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: ServerMember

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Delete an object

      +

    Returns void

    Returns void

    Returns ServerMember[]

    Returns undefined | ServerMember

    Returns ServerMember

    Returns undefined | ServerMember

    Returns O[]

    +
    diff --git a/classes/ServerPublicInvite.html b/classes/ServerPublicInvite.html index a7d317ae..21a486f0 100644 --- a/classes/ServerPublicInvite.html +++ b/classes/ServerPublicInvite.html @@ -1,5 +1,5 @@ ServerPublicInvite | stoat.js

    Class ServerPublicInvite

    Public Server Invite

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

  • code: string

    Invite code

  • type: "Group"
  • Optionaluser_avatar?:
        | null
        | {
            _id: string;
            content_type: string;
            deleted?: null
            | boolean;
            filename: string;
            message_id?: null | string;
            metadata:
                | { type: "File" }
                | { type: "Text" }
                | {
                    animated?: null | boolean;
                    height: number;
                    thumbhash?: null | number[];
                    type: "Image";
                    width: number;
                }
                | { height: number; type: "Video"; width: number }
                | { type: "Audio" };
            object_id?: null | string;
            reported?: null | boolean;
            server_id?: null | string;
            size: number;
            tag: string;
            user_id?: null | string;
        }

    Avatar of the user who created the invite

  • user_name: string

    Name of user who created the invite

    -
    • type: "Server"

    Returns ServerPublicInvite

    Properties

    channelDescription?: string
    channelId: string
    channelName: string
    client?: Client
    code: string
    memberCount: number
    serverBanner?: File
    serverFlags: ServerFlags
    serverIcon?: File
    serverId: string
    serverName: string
    type: "Group" | "Server" | "None"
    userAvatar?: File
    userName: string

    Accessors

    Methods

    • Create an Invite from an API Invite Response

      +
    • type: "Server"

    Returns ServerPublicInvite

    Properties

    channelDescription?: string
    channelId: string
    channelName: string
    client?: Client
    code: string
    memberCount: number
    serverBanner?: File
    serverFlags: ServerFlags
    serverIcon?: File
    serverId: string
    serverName: string
    type: "Group" | "Server" | "None"
    userAvatar?: File
    userName: string

    Accessors

    Methods

    • Create an Invite from an API Invite Response

      Parameters

      • client: Client

        Client

      • invite:
            | {
                channel_description?: null
                | string;
                channel_id: string;
                channel_name: string;
                code: string;
                member_count: number;
                server_banner?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                server_flags?: null
                | number;
                server_icon?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                server_id: string;
                server_name: string;
                type: "Server";
                user_avatar?: | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                };
                user_name: string;
            }
            | {
                channel_description?: null
                | string;
                channel_id: string;
                channel_name: string;
                code: string;
                type: "Group";
                user_avatar?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                user_name: string;
            }

        Data

        • {
              channel_description?: null | string;
              channel_id: string;
              channel_name: string;
              code: string;
              member_count: number;
              server_banner?:
                  | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
              server_flags?: null
              | number;
              server_icon?:
                  | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
              server_id: string;
              server_name: string;
              type: "Server";
              user_avatar?: | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              };
              user_name: string;
          }
          • Optionalchannel_description?: null | string

            Description of server channel

            @@ -66,4 +66,4 @@
          • type: "Group"
          • Optionaluser_avatar?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }

            Avatar of the user who created the invite

          • user_name: string

            Name of user who created the invite

      Returns PublicChannelInvite

      Invite

      -
    +
    diff --git a/classes/ServerRole.html b/classes/ServerRole.html index de2d4b8e..1d660370 100644 --- a/classes/ServerRole.html +++ b/classes/ServerRole.html @@ -1,5 +1,5 @@ ServerRole | stoat.js

    Class ServerRole

    Server Role

    -

    Constructors

    Constructors

    Properties

    client colour? hoist @@ -34,9 +34,9 @@
    0
     
    -

    Returns ServerRole

    Properties

    client: Client
    colour?: string
    hoist: boolean
    icon?: File
    id: string
    name: string
    permissions: { a: bigint; d: bigint }
    rank: number
    serverId: string

    Accessors

    Methods

    • Write to string as a role mention

      +

    Returns ServerRole

    Properties

    client: Client
    colour?: string
    hoist: boolean
    icon?: File
    id: string
    name: string
    permissions: { a: bigint; d: bigint }
    rank: number
    serverId: string

    Accessors

    Methods

    +
    diff --git a/classes/Session.html b/classes/Session.html index b7fc8c46..0a94567a 100644 --- a/classes/Session.html +++ b/classes/Session.html @@ -1,5 +1,5 @@ Session | stoat.js

    Class Session

    Session Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    $exists createdAt @@ -11,13 +11,13 @@

    Constructors

    Properties

    id: string

    Accessors

    Methods

    • Rename a session

      +

    Returns Session

    Properties

    id: string

    Accessors

    Methods

    • Rename a session

      Parameters

      • name: string

        New name

        -

      Returns Promise<void>

    • Convert to string

      +

    Returns Promise<void>

    +
    diff --git a/classes/SessionCollection.html b/classes/SessionCollection.html index f6ce5dc0..92d36a4e 100644 --- a/classes/SessionCollection.html +++ b/classes/SessionCollection.html @@ -1,9 +1,10 @@ SessionCollection | stoat.js

    Class SessionCollection

    Collection of Sessions

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Methods

    add +create delete deleteAll entries @@ -14,6 +15,7 @@ get getOrCreate has +hydrate isPartial keys map @@ -22,48 +24,56 @@ values

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedSession
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedSession>>

    Methods

    • Create a new instance of an object

      +

    Returns SessionCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedSession
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedSession>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: Session

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Delete an object

      +

    Returns void

    Returns void

    Returns Promise<void>

    Returns Session[]

    Returns undefined | Session

    Returns O[]

    +
    diff --git a/classes/StoreCollection.html b/classes/StoreCollection.html index 74eb0ec0..ebc4eeb2 100644 --- a/classes/StoreCollection.html +++ b/classes/StoreCollection.html @@ -1,8 +1,9 @@ StoreCollection | stoat.js

    Class StoreCollection<T, V>Abstract

    Collection backed by a Solid.js Store

    -

    Type Parameters

    • T
    • V

    Hierarchy (View Summary)

    Constructors

    Type Parameters

    • T
    • V

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Methods

    add +create delete entries filter @@ -10,6 +11,7 @@ forEach get has +hydrate isPartial keys map @@ -17,40 +19,48 @@ toList values

    Constructors

    Properties

    getUnderlyingObject: (id: string) => V
    updateUnderlyingObject: SetStoreFunction<Record<string, V>>

    Methods

    • Create a new instance of an object

      +

      Type Parameters

      • T
      • V

      Returns StoreCollection<T, V>

    Properties

    getUnderlyingObject: (id: string) => V
    updateUnderlyingObject: SetStoreFunction<Record<string, V>>

    Methods

    • Add a previously hydrated object to the collection

      +

      Parameters

      • id: string

        Id

        +
      • instance: T

        Instance

        +
      • hydrated: V

        Hydrated

        +

      Returns void

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: T

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Delete an object

      +

    Returns void

    • Iterable of key, value pairs in the map

      +

    Returns void

    Returns T[]

    Returns undefined | T

    Returns O[]

    +
    diff --git a/classes/SystemMessage.html b/classes/SystemMessage.html index adc1418a..ed016e49 100644 --- a/classes/SystemMessage.html +++ b/classes/SystemMessage.html @@ -1,12 +1,12 @@ SystemMessage | stoat.js

    Class SystemMessageAbstract

    System Message

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Constructors

    • Construct System Message

      Parameters

      • client: Client

        Client

      • type:
            | "text"
            | "user_added"
            | "user_remove"
            | "user_joined"
            | "user_left"
            | "user_kicked"
            | "user_banned"
            | "channel_renamed"
            | "channel_description_changed"
            | "channel_icon_changed"
            | "channel_ownership_changed"
            | "message_pinned"
            | "message_unpinned"
            | "call_started"

        Type

        -

      Returns SystemMessage

    Properties

    client?: Client
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Methods

    • Create an System Message from an API System Message

      +

    Returns SystemMessage

    Properties

    client?: Client
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Methods

    • Create an System Message from an API System Message

      Parameters

      • client: Client

        Client

      • parent: {
            _id: string;
            attachments?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: null | boolean;
                                        height: number;
                                        thumbhash?: null | (...)[];
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        }
        • _id: string

          Unique Id

        • Optionalattachments?:
              | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[]

          Array of attachments

          @@ -34,4 +34,4 @@
        • Optionaluser?:
              | null
              | {
                  _id: string;
                  avatar?: | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
                  badges?: number;
                  bot?: null
                  | { owner: string };
                  discriminator: string;
                  display_name?: null | string;
                  flags?: number;
                  online: boolean;
                  privileged?: boolean;
                  pronouns?: null | string;
                  relations?: {
                      _id: string;
                      status:
                          | "User"
                          | "None"
                          | "Friend"
                          | "Outgoing"
                          | "Incoming"
                          | "Blocked"
                          | "BlockedOther";
                  }[];
                  relationship: | "User"
                  | "None"
                  | "Friend"
                  | "Outgoing"
                  | "Incoming"
                  | "Blocked"
                  | "BlockedOther";
                  status?: | null
                  | {
                      presence?: null
                      | "Online"
                      | "Idle"
                      | "Focus"
                      | "Busy"
                      | "Invisible";
                      text?: null | string;
                  };
                  username: string;
              }

          The user that sent this message

        • Optionalwebhook?: null | { avatar?: null | string; name: string }

          The webhook that sent this message

      • message:
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }

      Returns SystemMessage

      System Message

      -
    +
    diff --git a/classes/TextEmbed.html b/classes/TextEmbed.html index 07e74d9e..96467c1a 100644 --- a/classes/TextEmbed.html +++ b/classes/TextEmbed.html @@ -1,5 +1,5 @@ TextEmbed | stoat.js

    Class TextEmbed

    Text Embed

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client? colour? description? @@ -13,8 +13,8 @@

    Constructors

    • Construct Video Embed

      Parameters

      • client: Client

        Client

      • embed: Omit<
            (
                | {
                    colour?: null
                    | string;
                    description?: null | string;
                    icon_url?: null | string;
                    image?:
                        | null
                        | {
                            height: number;
                            size: "Large"
                            | "Preview";
                            url: string;
                            width: number;
                        };
                    original_url?: null
                    | string;
                    site_name?: null | string;
                    special?:
                        | null
                        | { type: "None" }
                        | { type: "GIF" }
                        | { id: string; timestamp?: null | string; type: "YouTube" }
                        | { content_type: "Channel"; id: string; type: "Lightspeed" }
                        | {
                            content_type: "Video" | "Channel" | "Clip";
                            id: string;
                            type: "Twitch";
                        }
                        | { content_type: string; id: string; type: "Spotify" }
                        | { type: "Soundcloud" }
                        | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                        | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                        | { id: string; type: "Streamable" };
                    title?: null | string;
                    type: "Website";
                    url?: null | string;
                    video?: null | { height: number; url: string; width: number };
                }
                | {
                    height: number;
                    size: "Large"
                    | "Preview";
                    type: "Image";
                    url: string;
                    width: number;
                }
                | { height: number; type: "Video"; url: string; width: number }
                | {
                    colour?: null | string;
                    description?: null | string;
                    icon_url?: null | string;
                    media?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    title?: null
                    | string;
                    type: "Text";
                    url?: null | string;
                }
                | { type: "None" }
            ) & { type: "Text" },
            "type",
        >

        Embed

        -

      Returns TextEmbed

    Properties

    client?: Client
    colour?: string
    description?: string
    iconUrl?: string
    media?: File
    title?: string
    type: "Text" | "Video" | "Image" | "Website" | "None"
    url?: string

    Accessors

    Methods

    • Create an Embed from an API Embed

      +

    Returns TextEmbed

    Properties

    client?: Client
    colour?: string
    description?: string
    iconUrl?: string
    media?: File
    title?: string
    type: "Text" | "Video" | "Image" | "Website" | "None"
    url?: string

    Accessors

    Methods

    • Create an Embed from an API Embed

      Parameters

      • client: Client

        Client

      • embed:
            | {
                colour?: null
                | string;
                description?: null | string;
                icon_url?: null | string;
                image?:
                    | null
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        url: string;
                        width: number;
                    };
                original_url?: null
                | string;
                site_name?: null | string;
                special?:
                    | null
                    | { type: "None" }
                    | { type: "GIF" }
                    | { id: string; timestamp?: null | string; type: "YouTube" }
                    | { content_type: "Channel"; id: string; type: "Lightspeed" }
                    | {
                        content_type: "Video" | "Channel" | "Clip";
                        id: string;
                        type: "Twitch";
                    }
                    | { content_type: string; id: string; type: "Spotify" }
                    | { type: "Soundcloud" }
                    | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                    | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                    | { id: string; type: "Streamable" };
                title?: null | string;
                type: "Website";
                url?: null | string;
                video?: null | { height: number; url: string; width: number };
            }
            | {
                height: number;
                size: "Large"
                | "Preview";
                type: "Image";
                url: string;
                width: number;
            }
            | { height: number; type: "Video"; url: string; width: number }
            | {
                colour?: null | string;
                description?: null | string;
                icon_url?: null | string;
                media?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                title?: null
                | string;
                type: "Text";
                url?: null | string;
            }
            | { type: "None" }

        Data

        • {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              image?:
                  | null
                  | {
                      height: number;
                      size: "Large"
                      | "Preview";
                      url: string;
                      width: number;
                  };
              original_url?: null
              | string;
              site_name?: null | string;
              special?:
                  | null
                  | { type: "None" }
                  | { type: "GIF" }
                  | { id: string; timestamp?: null | string; type: "YouTube" }
                  | { content_type: "Channel"; id: string; type: "Lightspeed" }
                  | {
                      content_type: "Video" | "Channel" | "Clip";
                      id: string;
                      type: "Twitch";
                  }
                  | { content_type: string; id: string; type: "Spotify" }
                  | { type: "Soundcloud" }
                  | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                  | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                  | { id: string; type: "Streamable" };
              title?: null | string;
              type: "Website";
              url?: null | string;
              video?: null | { height: number; url: string; width: number };
          }
          • Optionalcolour?: null | string

            CSS Colour

            @@ -45,4 +45,4 @@
          • Optionaltitle?: null | string

            Title of text embed

          • type: "Text"
          • Optionalurl?: null | string

            URL for title

        • { type: "None" }

      Returns MessageEmbed

      Embed

      -
    +
    diff --git a/classes/TextSystemMessage.html b/classes/TextSystemMessage.html index 0ff4dd35..2da65040 100644 --- a/classes/TextSystemMessage.html +++ b/classes/TextSystemMessage.html @@ -1,5 +1,5 @@ TextSystemMessage | stoat.js

    Class TextSystemMessage

    Text System Message

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client? content type @@ -7,7 +7,7 @@

    Constructors

    • Construct System Message

      Parameters

      • client: Client

        Client

      • systemMessage: (
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }
        ) & { type: "text" }

        System Message

        -

      Returns TextSystemMessage

    Properties

    client?: Client
    content: string
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Methods

    • Create an System Message from an API System Message

      +

    Returns TextSystemMessage

    Properties

    client?: Client
    content: string
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"

    Methods

    • Create an System Message from an API System Message

      Parameters

      • client: Client

        Client

      • parent: {
            _id: string;
            attachments?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: null | boolean;
                                        height: number;
                                        thumbhash?: null | (...)[];
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        }
        • _id: string

          Unique Id

        • Optionalattachments?:
              | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[]

          Array of attachments

          @@ -35,4 +35,4 @@
        • Optionaluser?:
              | null
              | {
                  _id: string;
                  avatar?: | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
                  badges?: number;
                  bot?: null
                  | { owner: string };
                  discriminator: string;
                  display_name?: null | string;
                  flags?: number;
                  online: boolean;
                  privileged?: boolean;
                  pronouns?: null | string;
                  relations?: {
                      _id: string;
                      status:
                          | "User"
                          | "None"
                          | "Friend"
                          | "Outgoing"
                          | "Incoming"
                          | "Blocked"
                          | "BlockedOther";
                  }[];
                  relationship: | "User"
                  | "None"
                  | "Friend"
                  | "Outgoing"
                  | "Incoming"
                  | "Blocked"
                  | "BlockedOther";
                  status?: | null
                  | {
                      presence?: null
                      | "Online"
                      | "Idle"
                      | "Focus"
                      | "Busy"
                      | "Invisible";
                      text?: null | string;
                  };
                  username: string;
              }

          The user that sent this message

        • Optionalwebhook?: null | { avatar?: null | string; name: string }

          The webhook that sent this message

      • message:
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }

      Returns SystemMessage

      System Message

      -
    +
    diff --git a/classes/UnknownEmbed.html b/classes/UnknownEmbed.html index 534396cc..7bbca222 100644 --- a/classes/UnknownEmbed.html +++ b/classes/UnknownEmbed.html @@ -1,12 +1,12 @@ UnknownEmbed | stoat.js

    Class UnknownEmbed

    Embed of unknown type

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Constructors

    Properties

    client?: Client
    type: "Text" | "Video" | "Image" | "Website" | "None"

    Methods

    • Create an Embed from an API Embed

      +

    Returns UnknownEmbed

    Properties

    client?: Client
    type: "Text" | "Video" | "Image" | "Website" | "None"

    Methods

    • Create an Embed from an API Embed

      Parameters

      • client: Client

        Client

      • embed:
            | {
                colour?: null
                | string;
                description?: null | string;
                icon_url?: null | string;
                image?:
                    | null
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        url: string;
                        width: number;
                    };
                original_url?: null
                | string;
                site_name?: null | string;
                special?:
                    | null
                    | { type: "None" }
                    | { type: "GIF" }
                    | { id: string; timestamp?: null | string; type: "YouTube" }
                    | { content_type: "Channel"; id: string; type: "Lightspeed" }
                    | {
                        content_type: "Video" | "Channel" | "Clip";
                        id: string;
                        type: "Twitch";
                    }
                    | { content_type: string; id: string; type: "Spotify" }
                    | { type: "Soundcloud" }
                    | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                    | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                    | { id: string; type: "Streamable" };
                title?: null | string;
                type: "Website";
                url?: null | string;
                video?: null | { height: number; url: string; width: number };
            }
            | {
                height: number;
                size: "Large"
                | "Preview";
                type: "Image";
                url: string;
                width: number;
            }
            | { height: number; type: "Video"; url: string; width: number }
            | {
                colour?: null | string;
                description?: null | string;
                icon_url?: null | string;
                media?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                title?: null
                | string;
                type: "Text";
                url?: null | string;
            }
            | { type: "None" }

        Data

        • {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              image?:
                  | null
                  | {
                      height: number;
                      size: "Large"
                      | "Preview";
                      url: string;
                      width: number;
                  };
              original_url?: null
              | string;
              site_name?: null | string;
              special?:
                  | null
                  | { type: "None" }
                  | { type: "GIF" }
                  | { id: string; timestamp?: null | string; type: "YouTube" }
                  | { content_type: "Channel"; id: string; type: "Lightspeed" }
                  | {
                      content_type: "Video" | "Channel" | "Clip";
                      id: string;
                      type: "Twitch";
                  }
                  | { content_type: string; id: string; type: "Spotify" }
                  | { type: "Soundcloud" }
                  | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                  | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                  | { id: string; type: "Streamable" };
              title?: null | string;
              type: "Website";
              url?: null | string;
              video?: null | { height: number; url: string; width: number };
          }
          • Optionalcolour?: null | string

            CSS Colour

            @@ -37,4 +37,4 @@
          • Optionaltitle?: null | string

            Title of text embed

          • type: "Text"
          • Optionalurl?: null | string

            URL for title

        • { type: "None" }

      Returns MessageEmbed

      Embed

      -
    +
    diff --git a/classes/UnknownInvite.html b/classes/UnknownInvite.html index 56e0e710..406ee841 100644 --- a/classes/UnknownInvite.html +++ b/classes/UnknownInvite.html @@ -1,12 +1,12 @@ UnknownInvite | stoat.js

    Class UnknownInvite

    Invite of unknown type

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Constructors

    Properties

    client?: Client
    type: "Group" | "Server" | "None"

    Methods

    • Create an Invite from an API Invite

      +

    Returns UnknownInvite

    Properties

    client?: Client
    type: "Group" | "Server" | "None"

    Methods

    • Create an Invite from an API Invite

      Parameters

      • client: Client

        Client

      • invite:
            | {
                _id: string;
                channel: string;
                creator: string;
                server: string;
                type: "Server";
            }
            | { _id: string; channel: string; creator: string; type: "Group" }

        Data

        • {
              _id: string;
              channel: string;
              creator: string;
              server: string;
              type: "Server";
          }
          • _id: string

            Invite code

            @@ -17,4 +17,4 @@
          • channel: string

            Id of the group channel this invite points to

          • creator: string

            Id of user who created this invite

          • type: "Group"

      Returns ChannelInvite

      Invite

      -
    +
    diff --git a/classes/UnknownPublicInvite.html b/classes/UnknownPublicInvite.html index 4f734ba5..7d657cc9 100644 --- a/classes/UnknownPublicInvite.html +++ b/classes/UnknownPublicInvite.html @@ -1,12 +1,12 @@ UnknownPublicInvite | stoat.js

    Class UnknownPublicInvite

    Public invite of unknown type

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    Methods

    Constructors

    Properties

    client?: Client
    type: "Group" | "Server" | "None"

    Methods

    • Create an Invite from an API Invite Response

      +

    Returns UnknownPublicInvite

    Properties

    client?: Client
    type: "Group" | "Server" | "None"

    Methods

    • Create an Invite from an API Invite Response

      Parameters

      • client: Client

        Client

      • invite:
            | {
                channel_description?: null
                | string;
                channel_id: string;
                channel_name: string;
                code: string;
                member_count: number;
                server_banner?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                server_flags?: null
                | number;
                server_icon?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                server_id: string;
                server_name: string;
                type: "Server";
                user_avatar?: | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                };
                user_name: string;
            }
            | {
                channel_description?: null
                | string;
                channel_id: string;
                channel_name: string;
                code: string;
                type: "Group";
                user_avatar?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                user_name: string;
            }

        Data

        • {
              channel_description?: null | string;
              channel_id: string;
              channel_name: string;
              code: string;
              member_count: number;
              server_banner?:
                  | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
              server_flags?: null
              | number;
              server_icon?:
                  | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
              server_id: string;
              server_name: string;
              type: "Server";
              user_avatar?: | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              };
              user_name: string;
          }
          • Optionalchannel_description?: null | string

            Description of server channel

            @@ -30,4 +30,4 @@
          • type: "Group"
          • Optionaluser_avatar?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }

            Avatar of the user who created the invite

          • user_name: string

            Name of user who created the invite

      Returns PublicChannelInvite

      Invite

      -
    +
    diff --git a/classes/User.html b/classes/User.html index 81ef1082..2833b1f8 100644 --- a/classes/User.html +++ b/classes/User.html @@ -1,5 +1,5 @@ User | stoat.js

    Class User

    User Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    $exists age @@ -37,19 +37,19 @@

    Constructors

    Properties

    id: string

    Accessors

    • get bot(): undefined | { owner: string }

      Bot information

      -

      Returns undefined | { owner: string }

    • get limits(): | undefined
      | {
          bots: number;
          file_upload_size_limits: { [key: string]: number };
          message_attachments: number;
          message_length: number;
          outgoing_friend_requests: number;
          servers: number;
          video: boolean;
          video_aspect_ratio: number[];
          video_resolution: number[];
          voice_quality: number;
      }

      Backend enforced limits for a user

      +

    Returns User

    Properties

    id: string

    Accessors

    • get bot(): undefined | { owner: string }

      Bot information

      +

      Returns undefined | { owner: string }

    • get limits(): | undefined
      | {
          bots: number;
          file_upload_size_limits: { [key: string]: number };
          message_attachments: number;
          message_length: number;
          outgoing_friend_requests: number;
          servers: number;
          video: boolean;
          video_aspect_ratio: number[];
          video_resolution: number[];
          voice_quality: number;
      }

      Backend enforced limits for a user

      Returns
          | undefined
          | {
              bots: number;
              file_upload_size_limits: { [key: string]: number };
              message_attachments: number;
              message_length: number;
              outgoing_friend_requests: number;
              servers: number;
              video: boolean;
              video_aspect_ratio: number[];
              video_resolution: number[];
              voice_quality: number;
          }

      • undefined
      • {
            bots: number;
            file_upload_size_limits: { [key: string]: number };
            message_attachments: number;
            message_length: number;
            outgoing_friend_requests: number;
            servers: number;
            video: boolean;
            video_aspect_ratio: number[];
            video_resolution: number[];
            voice_quality: number;
        }
        • bots: number

          Format: int64

          Max Owned Bots

        • file_upload_size_limits: { [key: string]: number }
        • message_attachments: number

          Format: int64

          @@ -65,21 +65,21 @@
    • video_resolution: number[]

      max video resolution (vertical, horizontal)

    • voice_quality: number

      Format: int64

      max audio quality

      -

    Methods

    • Change the username of the current user

      +
    • get presence(): "Online" | "Idle" | "Focus" | "Busy" | "Invisible"

      Presence

      +

      Returns "Online" | "Idle" | "Focus" | "Busy" | "Invisible"

    • get status(): | undefined
      | {
          presence?: null
          | "Online"
          | "Idle"
          | "Focus"
          | "Busy"
          | "Invisible";
          text?: null | string;
      }

      User Status

      +

      Returns
          | undefined
          | {
              presence?: null
              | "Online"
              | "Idle"
              | "Focus"
              | "Busy"
              | "Invisible";
              text?: null | string;
          }

    Methods

    • Change the username of the current user

      Parameters

      • username: string

        New username

      • password: string

        Current password

        -

      Returns Promise<
          {
              _id: string;
              avatar?: | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              };
              badges?: number;
              bot?: null
              | { owner: string };
              discriminator: string;
              display_name?: null | string;
              flags?: number;
              online: boolean;
              privileged?: boolean;
              pronouns?: null | string;
              relations?: {
                  _id: string;
                  status:
                      | "User"
                      | "None"
                      | "Friend"
                      | "Outgoing"
                      | "Incoming"
                      | "Blocked"
                      | "BlockedOther";
              }[];
              relationship: | "User"
              | "None"
              | "Friend"
              | "Outgoing"
              | "Incoming"
              | "Blocked"
              | "BlockedOther";
              status?: | null
              | {
                  presence?: null
                  | "Online"
                  | "Idle"
                  | "Focus"
                  | "Busy"
                  | "Invisible";
                  text?: null | string;
              };
              username: string;
          },
      >

    • Edit the user

      +

    Returns Promise<
        {
            _id: string;
            avatar?: | null
            | {
                _id: string;
                content_type: string;
                deleted?: null
                | boolean;
                filename: string;
                message_id?: null | string;
                metadata:
                    | { type: "File" }
                    | { type: "Text" }
                    | {
                        animated?: null | boolean;
                        height: number;
                        thumbhash?: null | number[];
                        type: "Image";
                        width: number;
                    }
                    | { height: number; type: "Video"; width: number }
                    | { type: "Audio" };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
            badges?: number;
            bot?: null
            | { owner: string };
            discriminator: string;
            display_name?: null | string;
            flags?: number;
            online: boolean;
            privileged?: boolean;
            pronouns?: null | string;
            relations?: {
                _id: string;
                status:
                    | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
            }[];
            relationship: | "User"
            | "None"
            | "Friend"
            | "Outgoing"
            | "Incoming"
            | "Blocked"
            | "BlockedOther";
            status?: | null
            | {
                presence?: null
                | "Online"
                | "Idle"
                | "Focus"
                | "Busy"
                | "Invisible";
                text?: null | string;
            };
            username: string;
        },
    >

    • Edit the user

      Parameters

      • data: {
            avatar?: null | string;
            badges?: null | number;
            display_name?: null | string;
            flags?: null | number;
            profile?: null | { background?: null | string; content?: null | string };
            pronouns?: null | string;
            remove?: (
                | "Avatar"
                | "StatusText"
                | "StatusPresence"
                | "ProfileContent"
                | "ProfileBackground"
                | "DisplayName"
                | "Pronouns"
                | "Internal"
            )[];
            status?: | null
            | {
                presence?: null
                | "Online"
                | "Idle"
                | "Focus"
                | "Busy"
                | "Invisible";
                text?: null | string;
            };
        }

        Changes

        • Optionalavatar?: null | string

          Attachment Id for avatar

        • Optionalbadges?: null | number

          Format: int32

          @@ -95,17 +95,17 @@
    • Optionalstatus?:
          | null
          | {
              presence?: null
              | "Online"
              | "Idle"
              | "Focus"
              | "Busy"
              | "Invisible";
              text?: null | string;
          }

      New user status

      -

    Returns Promise<void>

    • Fetch the mutual connections of the current user and a target user

      +

    Returns Promise<void>

    • Fetch the mutual connections of the current user and a target user

      Returns Promise<{ servers: string[]; users: string[] }>

      The mutual connections of the current user and a target user

      -
    • Remove a user from the friend list

      -

      Returns Promise<void>

    • Generate status message

      +
    • Remove a user from the friend list

      +

      Returns Promise<void>

    • Generate status message

      Parameters

      • translate: (presence: "Online" | "Idle" | "Focus" | "Busy" | "Invisible") => string = ...

        Translation function

      Returns undefined | string

      Status message

      -
    • Write to string as a user mention

      Returns string

      Formatted String

      -
    +
    diff --git a/classes/UserCollection.html b/classes/UserCollection.html index 75c0d86a..8ab2c163 100644 --- a/classes/UserCollection.html +++ b/classes/UserCollection.html @@ -1,9 +1,11 @@ UserCollection | stoat.js

    Class UserCollection

    Collection of Users

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedUser
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedUser>>

    Methods

    • Create a new instance of an object

      +

      Parameters

      Returns UserCollection

    Properties

    client: Client
    getUnderlyingObject: (id: string) => HydratedUser
    updateUnderlyingObject: SetStoreFunction<Record<string, HydratedUser>>

    Methods

    • Create a new instance of an object

      Parameters

      • id: string

        Id

      • type:
            | "user"
            | "server"
            | "channel"
            | "bot"
            | "channelUnread"
            | "channelWebhook"
            | "emoji"
            | "message"
            | "serverMember"
            | "session"

        Type

      • instance: User

        Instance

      • context: unknown

        Context

      • Optionaldata: unknown

        Data

        -

      Returns void

    • Delete an object

      +

    Returns void

    • Iterable of key, value pairs in the map

      +

    Returns void

    Returns User[]

    Returns undefined | User

    Returns User

    Returns undefined | User

    Returns O[]

    +
    diff --git a/classes/UserModeratedSystemMessage.html b/classes/UserModeratedSystemMessage.html index 2f2386f1..288aeb1c 100644 --- a/classes/UserModeratedSystemMessage.html +++ b/classes/UserModeratedSystemMessage.html @@ -1,5 +1,5 @@ UserModeratedSystemMessage | stoat.js

    Class UserModeratedSystemMessage

    User Moderated System Message

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    byId client? type @@ -10,9 +10,9 @@

    Constructors

    • Construct System Message

      Parameters

      • client: Client

        Client

      • systemMessage: (
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }
        ) & { type: "user_added" | "user_remove" }

        System Message

        -

      Returns UserModeratedSystemMessage

    Properties

    byId: string
    client?: Client
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"
    userId: string

    Accessors

    Methods

    • Create an System Message from an API System Message

      +

    Returns UserModeratedSystemMessage

    Properties

    byId: string
    client?: Client
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"
    userId: string

    Accessors

    Methods

    • Create an System Message from an API System Message

      Parameters

      • client: Client

        Client

      • parent: {
            _id: string;
            attachments?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: null | boolean;
                                        height: number;
                                        thumbhash?: null | (...)[];
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        }
        • _id: string

          Unique Id

        • Optionalattachments?:
              | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[]

          Array of attachments

          @@ -40,4 +40,4 @@
        • Optionaluser?:
              | null
              | {
                  _id: string;
                  avatar?: | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
                  badges?: number;
                  bot?: null
                  | { owner: string };
                  discriminator: string;
                  display_name?: null | string;
                  flags?: number;
                  online: boolean;
                  privileged?: boolean;
                  pronouns?: null | string;
                  relations?: {
                      _id: string;
                      status:
                          | "User"
                          | "None"
                          | "Friend"
                          | "Outgoing"
                          | "Incoming"
                          | "Blocked"
                          | "BlockedOther";
                  }[];
                  relationship: | "User"
                  | "None"
                  | "Friend"
                  | "Outgoing"
                  | "Incoming"
                  | "Blocked"
                  | "BlockedOther";
                  status?: | null
                  | {
                      presence?: null
                      | "Online"
                      | "Idle"
                      | "Focus"
                      | "Busy"
                      | "Invisible";
                      text?: null | string;
                  };
                  username: string;
              }

          The user that sent this message

        • Optionalwebhook?: null | { avatar?: null | string; name: string }

          The webhook that sent this message

      • message:
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }

      Returns SystemMessage

      System Message

      -
    +
    diff --git a/classes/UserProfile.html b/classes/UserProfile.html index f3911085..3a87696a 100644 --- a/classes/UserProfile.html +++ b/classes/UserProfile.html @@ -1,5 +1,5 @@ UserProfile | stoat.js

    Class UserProfile

    User Profile Class

    -

    Constructors

    Constructors

    Properties

    Accessors

    animatedBannerURL @@ -9,6 +9,6 @@
  • data: {
        background?:
            | null
            | {
                _id: string;
                content_type: string;
                deleted?: null
                | boolean;
                filename: string;
                message_id?: null | string;
                metadata:
                    | { type: "File" }
                    | { type: "Text" }
                    | {
                        animated?: null | boolean;
                        height: number;
                        thumbhash?: null | number[];
                        type: "Image";
                        width: number;
                    }
                    | { height: number; type: "Video"; width: number }
                    | { type: "Audio" };
                object_id?: null | string;
                reported?: null | boolean;
                server_id?: null | string;
                size: number;
                tag: string;
                user_id?: null | string;
            };
        content?: null
        | string;
    }

    Data

    • Optionalbackground?:
          | null
          | {
              _id: string;
              content_type: string;
              deleted?: null
              | boolean;
              filename: string;
              message_id?: null | string;
              metadata:
                  | { type: "File" }
                  | { type: "Text" }
                  | {
                      animated?: null | boolean;
                      height: number;
                      thumbhash?: null | number[];
                      type: "Image";
                      width: number;
                  }
                  | { height: number; type: "Video"; width: number }
                  | { type: "Audio" };
              object_id?: null | string;
              reported?: null | boolean;
              server_id?: null | string;
              size: number;
              tag: string;
              user_id?: null | string;
          }

      Background visible on user's profile

    • Optionalcontent?: null | string

      Text content on user's profile

      -
  • Returns UserProfile

    Properties

    banner?: File
    content?: string

    Accessors

    +

    Returns UserProfile

    Properties

    banner?: File
    content?: string

    Accessors

    diff --git a/classes/UserSystemMessage.html b/classes/UserSystemMessage.html index b64b750c..a635e874 100644 --- a/classes/UserSystemMessage.html +++ b/classes/UserSystemMessage.html @@ -1,5 +1,5 @@ UserSystemMessage | stoat.js

    Class UserSystemMessage

    User System Message

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client? type userId @@ -8,8 +8,8 @@

    Constructors

    • Construct System Message

      Parameters

      • client: Client

        Client

      • systemMessage: (
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }
        ) & {
            type:
                | "user_added"
                | "user_remove"
                | "user_joined"
                | "user_left"
                | "user_kicked"
                | "user_banned";
        }

        System Message

        -

      Returns UserSystemMessage

    Properties

    client?: Client
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"
    userId: string

    Accessors

    Methods

    • Create an System Message from an API System Message

      +

    Returns UserSystemMessage

    Properties

    client?: Client
    type:
        | "text"
        | "user_added"
        | "user_remove"
        | "user_joined"
        | "user_left"
        | "user_kicked"
        | "user_banned"
        | "channel_renamed"
        | "channel_description_changed"
        | "channel_icon_changed"
        | "channel_ownership_changed"
        | "message_pinned"
        | "message_unpinned"
        | "call_started"
    userId: string

    Accessors

    Methods

    • Create an System Message from an API System Message

      Parameters

      • client: Client

        Client

      • parent: {
            _id: string;
            attachments?:
                | null
                | {
                    _id: string;
                    content_type: string;
                    deleted?: null
                    | boolean;
                    filename: string;
                    message_id?: null | string;
                    metadata:
                        | { type: "File" }
                        | { type: "Text" }
                        | {
                            animated?: null | boolean;
                            height: number;
                            thumbhash?: null | number[];
                            type: "Image";
                            width: number;
                        }
                        | { height: number; type: "Video"; width: number }
                        | { type: "Audio" };
                    object_id?: null | string;
                    reported?: null | boolean;
                    server_id?: null | string;
                    size: number;
                    tag: string;
                    user_id?: null | string;
                }[];
            author: string;
            channel: string;
            content?: null
            | string;
            edited?: null | string;
            embeds?:
                | null
                | (
                    | {
                        colour?: null
                        | string;
                        description?: null | string;
                        icon_url?: null | string;
                        image?:
                            | null
                            | {
                                height: number;
                                size: "Large"
                                | "Preview";
                                url: string;
                                width: number;
                            };
                        original_url?: null
                        | string;
                        site_name?: null | string;
                        special?:
                            | null
                            | { type: "None" }
                            | { type: "GIF" }
                            | { id: string; timestamp?: null | string; type: "YouTube" }
                            | { content_type: "Channel"; id: string; type: "Lightspeed" }
                            | {
                                content_type: "Video" | "Channel" | "Clip";
                                id: string;
                                type: "Twitch";
                            }
                            | { content_type: string; id: string; type: "Spotify" }
                            | { type: "Soundcloud" }
                            | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                            | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                            | { id: string; type: "Streamable" };
                        title?: null | string;
                        type: "Website";
                        url?: null | string;
                        video?: null | { height: number; url: string; width: number };
                    }
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        type: "Image";
                        url: string;
                        width: number;
                    }
                    | { height: number; type: "Video"; url: string; width: number }
                    | {
                        colour?: null | string;
                        description?: null | string;
                        icon_url?: null | string;
                        media?:
                            | null
                            | {
                                _id: string;
                                content_type: string;
                                deleted?: null
                                | boolean;
                                filename: string;
                                message_id?: null | string;
                                metadata:
                                    | { type: "File" }
                                    | { type: "Text" }
                                    | {
                                        animated?: null | boolean;
                                        height: number;
                                        thumbhash?: null | (...)[];
                                        type: "Image";
                                        width: number;
                                    }
                                    | { height: number; type: "Video"; width: number }
                                    | { type: "Audio" };
                                object_id?: null | string;
                                reported?: null | boolean;
                                server_id?: null | string;
                                size: number;
                                tag: string;
                                user_id?: null | string;
                            };
                        title?: null
                        | string;
                        type: "Text";
                        url?: null | string;
                    }
                    | { type: "None" }
                )[];
            flags?: number;
            interactions?: {
                reactions?: null | string[];
                restrict_reactions?: boolean;
            };
            masquerade?: | null
            | { avatar?: null
            | string; colour?: null | string; name?: null | string };
            member?:
                | null
                | {
                    _id: { server: string; user: string };
                    avatar?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    can_publish?: boolean;
                    can_receive?: boolean;
                    joined_at: string;
                    nickname?: null
                    | string;
                    pronouns?: null | string;
                    roles?: string[];
                    timeout?: null | string;
                };
            mentions?: null
            | string[];
            nonce?: null | string;
            pinned?: null | boolean;
            reactions?: { [key: string]: string[] };
            replies?: null | string[];
            role_mentions?: null | string[];
            system?:
                | null
                | { content: string; type: "text" }
                | { by: string; id: string; type: "user_added" }
                | { by: string; id: string; type: "user_remove" }
                | { id: string; type: "user_joined" }
                | { id: string; type: "user_left" }
                | { id: string; type: "user_kicked" }
                | { id: string; type: "user_banned" }
                | { by: string; name: string; type: "channel_renamed" }
                | { by: string; type: "channel_description_changed" }
                | { by: string; type: "channel_icon_changed" }
                | { from: string; to: string; type: "channel_ownership_changed" }
                | { by: string; id: string; type: "message_pinned" }
                | { by: string; id: string; type: "message_unpinned" }
                | { by: string; finished_at?: null | string; type: "call_started" };
            user?:
                | null
                | {
                    _id: string;
                    avatar?: | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                    badges?: number;
                    bot?: null
                    | { owner: string };
                    discriminator: string;
                    display_name?: null | string;
                    flags?: number;
                    online: boolean;
                    privileged?: boolean;
                    pronouns?: null | string;
                    relations?: {
                        _id: string;
                        status:
                            | "User"
                            | "None"
                            | "Friend"
                            | "Outgoing"
                            | "Incoming"
                            | "Blocked"
                            | "BlockedOther";
                    }[];
                    relationship: | "User"
                    | "None"
                    | "Friend"
                    | "Outgoing"
                    | "Incoming"
                    | "Blocked"
                    | "BlockedOther";
                    status?: | null
                    | {
                        presence?: null
                        | "Online"
                        | "Idle"
                        | "Focus"
                        | "Busy"
                        | "Invisible";
                        text?: null | string;
                    };
                    username: string;
                };
            webhook?: null
            | { avatar?: null | string; name: string };
        }
        • _id: string

          Unique Id

        • Optionalattachments?:
              | null
              | {
                  _id: string;
                  content_type: string;
                  deleted?: null
                  | boolean;
                  filename: string;
                  message_id?: null | string;
                  metadata:
                      | { type: "File" }
                      | { type: "Text" }
                      | {
                          animated?: null | boolean;
                          height: number;
                          thumbhash?: null | number[];
                          type: "Image";
                          width: number;
                      }
                      | { height: number; type: "Video"; width: number }
                      | { type: "Audio" };
                  object_id?: null | string;
                  reported?: null | boolean;
                  server_id?: null | string;
                  size: number;
                  tag: string;
                  user_id?: null | string;
              }[]

          Array of attachments

          @@ -37,4 +37,4 @@
        • Optionaluser?:
              | null
              | {
                  _id: string;
                  avatar?: | null
                  | {
                      _id: string;
                      content_type: string;
                      deleted?: null
                      | boolean;
                      filename: string;
                      message_id?: null | string;
                      metadata:
                          | { type: "File" }
                          | { type: "Text" }
                          | {
                              animated?: null | boolean;
                              height: number;
                              thumbhash?: null | number[];
                              type: "Image";
                              width: number;
                          }
                          | { height: number; type: "Video"; width: number }
                          | { type: "Audio" };
                      object_id?: null | string;
                      reported?: null | boolean;
                      server_id?: null | string;
                      size: number;
                      tag: string;
                      user_id?: null | string;
                  };
                  badges?: number;
                  bot?: null
                  | { owner: string };
                  discriminator: string;
                  display_name?: null | string;
                  flags?: number;
                  online: boolean;
                  privileged?: boolean;
                  pronouns?: null | string;
                  relations?: {
                      _id: string;
                      status:
                          | "User"
                          | "None"
                          | "Friend"
                          | "Outgoing"
                          | "Incoming"
                          | "Blocked"
                          | "BlockedOther";
                  }[];
                  relationship: | "User"
                  | "None"
                  | "Friend"
                  | "Outgoing"
                  | "Incoming"
                  | "Blocked"
                  | "BlockedOther";
                  status?: | null
                  | {
                      presence?: null
                      | "Online"
                      | "Idle"
                      | "Focus"
                      | "Busy"
                      | "Invisible";
                      text?: null | string;
                  };
                  username: string;
              }

          The user that sent this message

        • Optionalwebhook?: null | { avatar?: null | string; name: string }

          The webhook that sent this message

      • message:
            | { content: string; type: "text" }
            | { by: string; id: string; type: "user_added" }
            | { by: string; id: string; type: "user_remove" }
            | { id: string; type: "user_joined" }
            | { id: string; type: "user_left" }
            | { id: string; type: "user_kicked" }
            | { id: string; type: "user_banned" }
            | { by: string; name: string; type: "channel_renamed" }
            | { by: string; type: "channel_description_changed" }
            | { by: string; type: "channel_icon_changed" }
            | { from: string; to: string; type: "channel_ownership_changed" }
            | { by: string; id: string; type: "message_pinned" }
            | { by: string; id: string; type: "message_unpinned" }
            | { by: string; finished_at?: null | string; type: "call_started" }

      Returns SystemMessage

      System Message

      -
    +
    diff --git a/classes/VideoEmbed.html b/classes/VideoEmbed.html index a21fe0f2..d85a5911 100644 --- a/classes/VideoEmbed.html +++ b/classes/VideoEmbed.html @@ -1,5 +1,5 @@ VideoEmbed | stoat.js

    Class VideoEmbed

    Video Embed

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client? height type @@ -10,8 +10,8 @@

    Constructors

    • Construct Video Embed

      Parameters

      • client: Client

        Client

      • embed: Omit<
            (
                | {
                    colour?: null
                    | string;
                    description?: null | string;
                    icon_url?: null | string;
                    image?:
                        | null
                        | {
                            height: number;
                            size: "Large"
                            | "Preview";
                            url: string;
                            width: number;
                        };
                    original_url?: null
                    | string;
                    site_name?: null | string;
                    special?:
                        | null
                        | { type: "None" }
                        | { type: "GIF" }
                        | { id: string; timestamp?: null | string; type: "YouTube" }
                        | { content_type: "Channel"; id: string; type: "Lightspeed" }
                        | {
                            content_type: "Video" | "Channel" | "Clip";
                            id: string;
                            type: "Twitch";
                        }
                        | { content_type: string; id: string; type: "Spotify" }
                        | { type: "Soundcloud" }
                        | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                        | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                        | { id: string; type: "Streamable" };
                    title?: null | string;
                    type: "Website";
                    url?: null | string;
                    video?: null | { height: number; url: string; width: number };
                }
                | {
                    height: number;
                    size: "Large"
                    | "Preview";
                    type: "Image";
                    url: string;
                    width: number;
                }
                | { height: number; type: "Video"; url: string; width: number }
                | {
                    colour?: null | string;
                    description?: null | string;
                    icon_url?: null | string;
                    media?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    title?: null
                    | string;
                    type: "Text";
                    url?: null | string;
                }
                | { type: "None" }
            ) & { type: "Video" },
            "type",
        >

        Embed

        -

      Returns VideoEmbed

    Properties

    client?: Client
    height: number
    type: "Text" | "Video" | "Image" | "Website" | "None"
    url: string
    width: number

    Accessors

    Methods

    • Create an Embed from an API Embed

      +

    Returns VideoEmbed

    Properties

    client?: Client
    height: number
    type: "Text" | "Video" | "Image" | "Website" | "None"
    url: string
    width: number

    Accessors

    Methods

    • Create an Embed from an API Embed

      Parameters

      • client: Client

        Client

      • embed:
            | {
                colour?: null
                | string;
                description?: null | string;
                icon_url?: null | string;
                image?:
                    | null
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        url: string;
                        width: number;
                    };
                original_url?: null
                | string;
                site_name?: null | string;
                special?:
                    | null
                    | { type: "None" }
                    | { type: "GIF" }
                    | { id: string; timestamp?: null | string; type: "YouTube" }
                    | { content_type: "Channel"; id: string; type: "Lightspeed" }
                    | {
                        content_type: "Video" | "Channel" | "Clip";
                        id: string;
                        type: "Twitch";
                    }
                    | { content_type: string; id: string; type: "Spotify" }
                    | { type: "Soundcloud" }
                    | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                    | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                    | { id: string; type: "Streamable" };
                title?: null | string;
                type: "Website";
                url?: null | string;
                video?: null | { height: number; url: string; width: number };
            }
            | {
                height: number;
                size: "Large"
                | "Preview";
                type: "Image";
                url: string;
                width: number;
            }
            | { height: number; type: "Video"; url: string; width: number }
            | {
                colour?: null | string;
                description?: null | string;
                icon_url?: null | string;
                media?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                title?: null
                | string;
                type: "Text";
                url?: null | string;
            }
            | { type: "None" }

        Data

        • {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              image?:
                  | null
                  | {
                      height: number;
                      size: "Large"
                      | "Preview";
                      url: string;
                      width: number;
                  };
              original_url?: null
              | string;
              site_name?: null | string;
              special?:
                  | null
                  | { type: "None" }
                  | { type: "GIF" }
                  | { id: string; timestamp?: null | string; type: "YouTube" }
                  | { content_type: "Channel"; id: string; type: "Lightspeed" }
                  | {
                      content_type: "Video" | "Channel" | "Clip";
                      id: string;
                      type: "Twitch";
                  }
                  | { content_type: string; id: string; type: "Spotify" }
                  | { type: "Soundcloud" }
                  | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                  | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                  | { id: string; type: "Streamable" };
              title?: null | string;
              type: "Website";
              url?: null | string;
              video?: null | { height: number; url: string; width: number };
          }
          • Optionalcolour?: null | string

            CSS Colour

            @@ -42,4 +42,4 @@
          • Optionaltitle?: null | string

            Title of text embed

          • type: "Text"
          • Optionalurl?: null | string

            URL for title

        • { type: "None" }

      Returns MessageEmbed

      Embed

      -
    +
    diff --git a/classes/VoiceParticipant.html b/classes/VoiceParticipant.html index 4ff25f9e..d10a6b48 100644 --- a/classes/VoiceParticipant.html +++ b/classes/VoiceParticipant.html @@ -1,5 +1,5 @@ VoiceParticipant | stoat.js

    Class VoiceParticipant

    Voice Participant

    -

    Constructors

    Constructors

    Properties

    client isCamera isPublishing @@ -12,7 +12,7 @@

    Constructors

    Properties

    client: Client
    isCamera: Accessor<boolean>
    isPublishing: Accessor<boolean>
    isReceiving: Accessor<boolean>
    isScreensharing: Accessor<boolean>
    joinedAt: Date
    userId: string

    Accessors

    Methods

    • Update the state

      +

    Returns VoiceParticipant

    Properties

    client: Client
    isCamera: Accessor<boolean>
    isPublishing: Accessor<boolean>
    isReceiving: Accessor<boolean>
    isScreensharing: Accessor<boolean>
    joinedAt: Date
    userId: string

    Accessors

    Methods

    +

    Returns void

    diff --git a/classes/WebsiteEmbed.html b/classes/WebsiteEmbed.html index 0881f771..6fb6cdb9 100644 --- a/classes/WebsiteEmbed.html +++ b/classes/WebsiteEmbed.html @@ -1,5 +1,5 @@ WebsiteEmbed | stoat.js

    Class WebsiteEmbed

    Website Embed

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    client? colour? description? @@ -18,9 +18,9 @@

    Constructors

    • Construct Video Embed

      Parameters

      • client: Client

        Client

      • embed: Omit<
            (
                | {
                    colour?: null
                    | string;
                    description?: null | string;
                    icon_url?: null | string;
                    image?:
                        | null
                        | {
                            height: number;
                            size: "Large"
                            | "Preview";
                            url: string;
                            width: number;
                        };
                    original_url?: null
                    | string;
                    site_name?: null | string;
                    special?:
                        | null
                        | { type: "None" }
                        | { type: "GIF" }
                        | { id: string; timestamp?: null | string; type: "YouTube" }
                        | { content_type: "Channel"; id: string; type: "Lightspeed" }
                        | {
                            content_type: "Video" | "Channel" | "Clip";
                            id: string;
                            type: "Twitch";
                        }
                        | { content_type: string; id: string; type: "Spotify" }
                        | { type: "Soundcloud" }
                        | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                        | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                        | { id: string; type: "Streamable" };
                    title?: null | string;
                    type: "Website";
                    url?: null | string;
                    video?: null | { height: number; url: string; width: number };
                }
                | {
                    height: number;
                    size: "Large"
                    | "Preview";
                    type: "Image";
                    url: string;
                    width: number;
                }
                | { height: number; type: "Video"; url: string; width: number }
                | {
                    colour?: null | string;
                    description?: null | string;
                    icon_url?: null | string;
                    media?:
                        | null
                        | {
                            _id: string;
                            content_type: string;
                            deleted?: null
                            | boolean;
                            filename: string;
                            message_id?: null | string;
                            metadata:
                                | { type: "File" }
                                | { type: "Text" }
                                | {
                                    animated?: null | boolean;
                                    height: number;
                                    thumbhash?: null | number[];
                                    type: "Image";
                                    width: number;
                                }
                                | { height: number; type: "Video"; width: number }
                                | { type: "Audio" };
                            object_id?: null | string;
                            reported?: null | boolean;
                            server_id?: null | string;
                            size: number;
                            tag: string;
                            user_id?: null | string;
                        };
                    title?: null
                    | string;
                    type: "Text";
                    url?: null | string;
                }
                | { type: "None" }
            ) & { type: "Website" },
            "type",
        >

        Embed

        -

      Returns WebsiteEmbed

    Properties

    client?: Client
    colour?: string
    description?: string
    iconUrl?: string
    image?: ImageEmbed
    originalUrl?: string
    siteName?: string
    specialContent?:
        | { type: "None" }
        | { type: "GIF" }
        | { id: string; timestamp?: null | string; type: "YouTube" }
        | { content_type: "Channel"; id: string; type: "Lightspeed" }
        | {
            content_type: "Video" | "Channel" | "Clip";
            id: string;
            type: "Twitch";
        }
        | { content_type: string; id: string; type: "Spotify" }
        | { type: "Soundcloud" }
        | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
        | { album_id: string; track_id?: null | string; type: "AppleMusic" }
        | { id: string; type: "Streamable" }
    title?: string
    type: "Text" | "Video" | "Image" | "Website" | "None"
    url?: string
    video?: VideoEmbed

    Accessors

    • get embedURL(): undefined | string

      If special content is present, generate the embed URL

      -

      Returns undefined | string

    Methods

    • Create an Embed from an API Embed

      +

    Returns WebsiteEmbed

    Properties

    client?: Client
    colour?: string
    description?: string
    iconUrl?: string
    image?: ImageEmbed
    originalUrl?: string
    siteName?: string
    specialContent?:
        | { type: "None" }
        | { type: "GIF" }
        | { id: string; timestamp?: null | string; type: "YouTube" }
        | { content_type: "Channel"; id: string; type: "Lightspeed" }
        | {
            content_type: "Video" | "Channel" | "Clip";
            id: string;
            type: "Twitch";
        }
        | { content_type: string; id: string; type: "Spotify" }
        | { type: "Soundcloud" }
        | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
        | { album_id: string; track_id?: null | string; type: "AppleMusic" }
        | { id: string; type: "Streamable" }
    title?: string
    type: "Text" | "Video" | "Image" | "Website" | "None"
    url?: string
    video?: VideoEmbed

    Accessors

    • get embedURL(): undefined | string

      If special content is present, generate the embed URL

      +

      Returns undefined | string

    Methods

    • Create an Embed from an API Embed

      Parameters

      • client: Client

        Client

      • embed:
            | {
                colour?: null
                | string;
                description?: null | string;
                icon_url?: null | string;
                image?:
                    | null
                    | {
                        height: number;
                        size: "Large"
                        | "Preview";
                        url: string;
                        width: number;
                    };
                original_url?: null
                | string;
                site_name?: null | string;
                special?:
                    | null
                    | { type: "None" }
                    | { type: "GIF" }
                    | { id: string; timestamp?: null | string; type: "YouTube" }
                    | { content_type: "Channel"; id: string; type: "Lightspeed" }
                    | {
                        content_type: "Video" | "Channel" | "Clip";
                        id: string;
                        type: "Twitch";
                    }
                    | { content_type: string; id: string; type: "Spotify" }
                    | { type: "Soundcloud" }
                    | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                    | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                    | { id: string; type: "Streamable" };
                title?: null | string;
                type: "Website";
                url?: null | string;
                video?: null | { height: number; url: string; width: number };
            }
            | {
                height: number;
                size: "Large"
                | "Preview";
                type: "Image";
                url: string;
                width: number;
            }
            | { height: number; type: "Video"; url: string; width: number }
            | {
                colour?: null | string;
                description?: null | string;
                icon_url?: null | string;
                media?:
                    | null
                    | {
                        _id: string;
                        content_type: string;
                        deleted?: null
                        | boolean;
                        filename: string;
                        message_id?: null | string;
                        metadata:
                            | { type: "File" }
                            | { type: "Text" }
                            | {
                                animated?: null | boolean;
                                height: number;
                                thumbhash?: null | number[];
                                type: "Image";
                                width: number;
                            }
                            | { height: number; type: "Video"; width: number }
                            | { type: "Audio" };
                        object_id?: null | string;
                        reported?: null | boolean;
                        server_id?: null | string;
                        size: number;
                        tag: string;
                        user_id?: null | string;
                    };
                title?: null
                | string;
                type: "Text";
                url?: null | string;
            }
            | { type: "None" }

        Data

        • {
              colour?: null | string;
              description?: null | string;
              icon_url?: null | string;
              image?:
                  | null
                  | {
                      height: number;
                      size: "Large"
                      | "Preview";
                      url: string;
                      width: number;
                  };
              original_url?: null
              | string;
              site_name?: null | string;
              special?:
                  | null
                  | { type: "None" }
                  | { type: "GIF" }
                  | { id: string; timestamp?: null | string; type: "YouTube" }
                  | { content_type: "Channel"; id: string; type: "Lightspeed" }
                  | {
                      content_type: "Video" | "Channel" | "Clip";
                      id: string;
                      type: "Twitch";
                  }
                  | { content_type: string; id: string; type: "Spotify" }
                  | { type: "Soundcloud" }
                  | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }
                  | { album_id: string; track_id?: null | string; type: "AppleMusic" }
                  | { id: string; type: "Streamable" };
              title?: null | string;
              type: "Website";
              url?: null | string;
              video?: null | { height: number; url: string; width: number };
          }
          • Optionalcolour?: null | string

            CSS Colour

            @@ -51,4 +51,4 @@
          • Optionaltitle?: null | string

            Title of text embed

          • type: "Text"
          • Optionalurl?: null | string

            URL for title

        • { type: "None" }

      Returns MessageEmbed

      Embed

      -
    +
    diff --git a/enums/BotFlags.html b/enums/BotFlags.html index 98141ce8..02d6cee2 100644 --- a/enums/BotFlags.html +++ b/enums/BotFlags.html @@ -1,2 +1,2 @@ BotFlags | stoat.js

    Enumeration BotFlags

    Flags attributed to users

    -
    +
    diff --git a/enums/ConnectionState.html b/enums/ConnectionState.html index a3863bda..75c1293c 100644 --- a/enums/ConnectionState.html +++ b/enums/ConnectionState.html @@ -1,6 +1,6 @@ ConnectionState | stoat.js

    Enumeration ConnectionState

    All possible event client states.

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    Connected: 2
    Connecting: 1
    Disconnected: 3
    Idle: 0
    +

    Enumeration Members

    Connected: 2
    Connecting: 1
    Disconnected: 3
    Idle: 0
    diff --git a/enums/ServerFlags.html b/enums/ServerFlags.html index 7b7926a9..9f63dd96 100644 --- a/enums/ServerFlags.html +++ b/enums/ServerFlags.html @@ -1,4 +1,4 @@ ServerFlags | stoat.js

    Enumeration ServerFlags

    Flags attributed to servers

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    Official: 1
    Verified: 2
    +

    Enumeration Members

    Official: 1
    Verified: 2
    diff --git a/enums/UserBadges.html b/enums/UserBadges.html index 59fe083e..2cac9ef2 100644 --- a/enums/UserBadges.html +++ b/enums/UserBadges.html @@ -1,5 +1,5 @@ UserBadges | stoat.js

    Enumeration UserBadges

    Badges available to users

    -

    Enumeration Members

    Enumeration Members

    ActiveSupporter: 64
    Developer: 1
    EarlyAdopter: 256
    Founder: 16
    Paw: 128
    PlatformModeration: 32
    ReservedRelevantJokeBadge1: 512
    ReservedRelevantJokeBadge2: 1024
    ResponsibleDisclosure: 8
    Supporter: 4
    Translator: 2
    +

    Enumeration Members

    ActiveSupporter: 64
    Developer: 1
    EarlyAdopter: 256
    Founder: 16
    Paw: 128
    PlatformModeration: 32
    ReservedRelevantJokeBadge1: 512
    ReservedRelevantJokeBadge2: 1024
    ResponsibleDisclosure: 8
    Supporter: 4
    Translator: 2
    diff --git a/enums/UserFlags.html b/enums/UserFlags.html index 7953e7b5..1e12db51 100644 --- a/enums/UserFlags.html +++ b/enums/UserFlags.html @@ -1,5 +1,5 @@ UserFlags | stoat.js

    Enumeration UserFlags

    Flags attributed to users

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    Banned: 4
    Deleted: 2
    Suspended: 1
    +

    Enumeration Members

    Banned: 4
    Deleted: 2
    Suspended: 1
    diff --git a/hierarchy.html b/hierarchy.html index 9b005f09..b44769bc 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -1 +1 @@ -stoat.js
    +stoat.js
    diff --git a/types/ClientOptions.html b/types/ClientOptions.html index dbb0c4f4..f8b42e94 100644 --- a/types/ClientOptions.html +++ b/types/ClientOptions.html @@ -26,16 +26,16 @@
    false
     
    -
  • channelIsMuted:function
  • channelIsMuted:function
  • retryDelayFunction:function
  • retryDelayFunction:function
  • +
    diff --git a/types/PrivateSession.html b/types/PrivateSession.html index 426d97fc..cd2917f5 100644 --- a/types/PrivateSession.html +++ b/types/PrivateSession.html @@ -1 +1 @@ -PrivateSession | stoat.js

    Type Alias PrivateSession

    PrivateSession: { _id: string; token: string; user_id: string } | string
    +PrivateSession | stoat.js

    Type Alias PrivateSession

    PrivateSession: { _id: string; token: string; user_id: string } | string
    diff --git a/types/ProtocolV1.html b/types/ProtocolV1.html index 2b77609a..bd01d8f6 100644 --- a/types/ProtocolV1.html +++ b/types/ProtocolV1.html @@ -1,2 +1,2 @@ ProtocolV1 | stoat.js

    Type Alias ProtocolV1

    ProtocolV1: {
        client: ClientMessage;
        server: ServerMessage;
        types: { policyChange: PolicyChange };
    }

    Version 1 of the events protocol

    -

    Type declaration

    • client: ClientMessage
    • server: ServerMessage
    • types: { policyChange: PolicyChange }
    +

    Type declaration

    diff --git a/types/UserLimits.html b/types/UserLimits.html index 24aad646..310463d8 100644 --- a/types/UserLimits.html +++ b/types/UserLimits.html @@ -1 +1 @@ -UserLimits | stoat.js

    Type Alias UserLimits

    UserLimits: API.UserLimits
    +UserLimits | stoat.js

    Type Alias UserLimits

    UserLimits: API.UserLimits
    diff --git a/types/VoiceStatus.html b/types/VoiceStatus.html index 5c2f0cb1..8990de77 100644 --- a/types/VoiceStatus.html +++ b/types/VoiceStatus.html @@ -1,2 +1,2 @@ VoiceStatus | stoat.js

    Type Alias VoiceStatus

    VoiceStatus: "none" | "voice" | "video" | "screenshare"

    The voice status of an entity. Screenshare supersedes video, video supersedes voice, and voice supersedes none.

    -
    +
    diff --git a/variables/ALLOW_IN_TIMEOUT.html b/variables/ALLOW_IN_TIMEOUT.html index 03a07906..fb1411b2 100644 --- a/variables/ALLOW_IN_TIMEOUT.html +++ b/variables/ALLOW_IN_TIMEOUT.html @@ -1,2 +1,2 @@ ALLOW_IN_TIMEOUT | stoat.js

    Variable ALLOW_IN_TIMEOUTConst

    ALLOW_IN_TIMEOUT: bigint = ...

    Permissions allowed for a user while in timeout

    -
    +
    diff --git a/variables/DEFAULT_PERMISSION.html b/variables/DEFAULT_PERMISSION.html index db83d34e..3a195187 100644 --- a/variables/DEFAULT_PERMISSION.html +++ b/variables/DEFAULT_PERMISSION.html @@ -1,2 +1,2 @@ DEFAULT_PERMISSION | stoat.js

    Variable DEFAULT_PERMISSIONConst

    DEFAULT_PERMISSION: bigint = ...

    Default base permissions for channels

    -
    +
    diff --git a/variables/DEFAULT_PERMISSION_DIRECT_MESSAGE.html b/variables/DEFAULT_PERMISSION_DIRECT_MESSAGE.html index e6f507e9..1a1b4fe9 100644 --- a/variables/DEFAULT_PERMISSION_DIRECT_MESSAGE.html +++ b/variables/DEFAULT_PERMISSION_DIRECT_MESSAGE.html @@ -1,2 +1,2 @@ DEFAULT_PERMISSION_DIRECT_MESSAGE | stoat.js

    Variable DEFAULT_PERMISSION_DIRECT_MESSAGEConst

    DEFAULT_PERMISSION_DIRECT_MESSAGE: bigint = ...

    Permissions in direct message channels / default permissions for group DMs

    -
    +
    diff --git a/variables/DEFAULT_PERMISSION_SAVED_MESSAGES.html b/variables/DEFAULT_PERMISSION_SAVED_MESSAGES.html index d0e3509f..e911b45e 100644 --- a/variables/DEFAULT_PERMISSION_SAVED_MESSAGES.html +++ b/variables/DEFAULT_PERMISSION_SAVED_MESSAGES.html @@ -1,2 +1,2 @@ DEFAULT_PERMISSION_SAVED_MESSAGES | stoat.js

    Variable DEFAULT_PERMISSION_SAVED_MESSAGESConst

    DEFAULT_PERMISSION_SAVED_MESSAGES: bigint = Permission.GrantAllSafe

    Permissions in saved messages channel

    -
    +
    diff --git a/variables/DEFAULT_PERMISSION_SERVER.html b/variables/DEFAULT_PERMISSION_SERVER.html index 138ddd72..7d99d853 100644 --- a/variables/DEFAULT_PERMISSION_SERVER.html +++ b/variables/DEFAULT_PERMISSION_SERVER.html @@ -1,2 +1,2 @@ DEFAULT_PERMISSION_SERVER | stoat.js

    Variable DEFAULT_PERMISSION_SERVERConst

    DEFAULT_PERMISSION_SERVER: bigint = ...

    Permissions in server text / voice channel

    -
    +
    diff --git a/variables/DEFAULT_PERMISSION_VIEW_ONLY.html b/variables/DEFAULT_PERMISSION_VIEW_ONLY.html index 04f8f7be..5e053375 100644 --- a/variables/DEFAULT_PERMISSION_VIEW_ONLY.html +++ b/variables/DEFAULT_PERMISSION_VIEW_ONLY.html @@ -1,2 +1,2 @@ DEFAULT_PERMISSION_VIEW_ONLY | stoat.js

    Variable DEFAULT_PERMISSION_VIEW_ONLYConst

    DEFAULT_PERMISSION_VIEW_ONLY: bigint = ...

    Default permissions if we can only view

    -
    +
    diff --git a/variables/Permission.html b/variables/Permission.html index 95f304a4..386da43e 100644 --- a/variables/Permission.html +++ b/variables/Permission.html @@ -1,2 +1,2 @@ Permission | stoat.js

    Variable PermissionConst

    Permission: {
        AssignRoles: bigint;
        BanMembers: bigint;
        BypassSlowmode: bigint;
        ChangeAvatar: bigint;
        ChangeNickname: bigint;
        Connect: bigint;
        DeafenMembers: bigint;
        GrantAllSafe: bigint;
        InviteOthers: bigint;
        KickMembers: bigint;
        Listen: bigint;
        ManageChannel: bigint;
        ManageCustomisation: bigint;
        ManageMessages: bigint;
        ManageNicknames: bigint;
        ManagePermissions: bigint;
        ManageRole: bigint;
        ManageServer: bigint;
        ManageWebhooks: bigint;
        Masquerade: bigint;
        MentionEveryone: bigint;
        MentionRoles: bigint;
        MoveMembers: bigint;
        MuteMembers: bigint;
        React: bigint;
        ReadMessageHistory: bigint;
        RemoveAvatars: bigint;
        SendEmbeds: bigint;
        SendMessage: bigint;
        Speak: bigint;
        TimeoutMembers: bigint;
        UploadFiles: bigint;
        Video: bigint;
        ViewAuditLogs: bigint;
        ViewChannel: bigint;
    } = ...

    Permission against Server / Channel

    -

    Type declaration

    • AssignRoles: bigint
    • BanMembers: bigint
    • BypassSlowmode: bigint
    • ChangeAvatar: bigint
    • ChangeNickname: bigint
    • Connect: bigint
    • DeafenMembers: bigint
    • GrantAllSafe: bigint
    • InviteOthers: bigint
    • KickMembers: bigint
    • Listen: bigint
    • ManageChannel: bigint
    • ManageCustomisation: bigint
    • ManageMessages: bigint
    • ManageNicknames: bigint
    • ManagePermissions: bigint
    • ManageRole: bigint
    • ManageServer: bigint
    • ManageWebhooks: bigint
    • Masquerade: bigint
    • MentionEveryone: bigint
    • MentionRoles: bigint
    • MoveMembers: bigint
    • MuteMembers: bigint
    • React: bigint
    • ReadMessageHistory: bigint
    • RemoveAvatars: bigint
    • SendEmbeds: bigint
    • SendMessage: bigint
    • Speak: bigint
    • TimeoutMembers: bigint
    • UploadFiles: bigint
    • Video: bigint
    • ViewAuditLogs: bigint
    • ViewChannel: bigint
    +

    Type declaration

    diff --git a/variables/RE_CHANNELS.html b/variables/RE_CHANNELS.html index 53df1fa7..2e08b1f7 100644 --- a/variables/RE_CHANNELS.html +++ b/variables/RE_CHANNELS.html @@ -1,2 +1,2 @@ RE_CHANNELS | stoat.js

    Variable RE_CHANNELSConst

    RE_CHANNELS: RegExp = ...

    Regular expression for channels.

    -
    +
    diff --git a/variables/RE_CUSTOM_EMOJI.html b/variables/RE_CUSTOM_EMOJI.html index d2e1179c..7ff07321 100644 --- a/variables/RE_CUSTOM_EMOJI.html +++ b/variables/RE_CUSTOM_EMOJI.html @@ -1,2 +1,2 @@ RE_CUSTOM_EMOJI | stoat.js

    Variable RE_CUSTOM_EMOJIConst

    RE_CUSTOM_EMOJI: RegExp = ...

    Regular expression for stripping custom emojis.

    -
    +
    diff --git a/variables/RE_MENTIONS.html b/variables/RE_MENTIONS.html index 5dc16e1f..33043325 100644 --- a/variables/RE_MENTIONS.html +++ b/variables/RE_MENTIONS.html @@ -1,2 +1,2 @@ RE_MENTIONS | stoat.js

    Variable RE_MENTIONSConst

    RE_MENTIONS: RegExp = ...

    Regular expression for mentions.

    -
    +
    diff --git a/variables/RE_SPOILER.html b/variables/RE_SPOILER.html index 1d3a552e..1e1bc7d6 100644 --- a/variables/RE_SPOILER.html +++ b/variables/RE_SPOILER.html @@ -1,2 +1,2 @@ RE_SPOILER | stoat.js

    Variable RE_SPOILERConst

    RE_SPOILER: RegExp = ...

    Regular expression for spoilers.

    -
    +
    diff --git a/variables/U32_MAX.html b/variables/U32_MAX.html index b634c913..c402fe0e 100644 --- a/variables/U32_MAX.html +++ b/variables/U32_MAX.html @@ -1,2 +1,2 @@ U32_MAX | stoat.js

    Variable U32_MAXConst

    U32_MAX: number = ...

    Maximum safe value

    -
    +
    diff --git a/variables/UserPermission.html b/variables/UserPermission.html index 7e3d78ea..8eba7b41 100644 --- a/variables/UserPermission.html +++ b/variables/UserPermission.html @@ -1,2 +1,2 @@ UserPermission | stoat.js

    Variable UserPermissionConst

    UserPermission: {
        Access: number;
        Invite: number;
        SendMessage: number;
        ViewProfile: number;
    } = ...

    Permission against User

    -

    Type declaration

    • Access: number
    • Invite: number
    • SendMessage: number
    • ViewProfile: number
    +

    Type declaration