@playlive/twitch-shared
    Preparing search index...

    Interface ITwitchChatbotDatabase

    Minimum surface a Twitch chatbot-side database must expose. Kept here so the dispatchers package can break a cycle the same way the upstream UDP copy does today.

    interface ITwitchChatbotDatabase {
        saveBotOAuth(token: RawTwitchAppToken): Promise<unknown>;
        setStreamStatus(twitchUsername: string, online: boolean): Promise<unknown>;
    }
    Index
    • Parameters

      • twitchUsername: string
      • online: boolean

      Returns Promise<unknown>