diff --git a/src/channel.ts b/src/channel.ts index 4eb7a15e6..fb3b13147 100644 --- a/src/channel.ts +++ b/src/channel.ts @@ -796,12 +796,12 @@ export class Channel); } diff --git a/src/types.ts b/src/types.ts index e0d3d7214..8667f6cca 100644 --- a/src/types.ts +++ b/src/types.ts @@ -3547,4 +3547,4 @@ export type GetUserModerationReportOptions = { include_user_mutes?: boolean; }; -export type AIState = 'AI_STATE_ERROR|AI_STATE_CHECKING_SOURCES|AI_STATE_THINKING|AI_STATE_GENERATING' | string; +export type AIState = 'AI_STATE_ERROR' | 'AI_STATE_CHECKING_SOURCES' | 'AI_STATE_THINKING' | 'AI_STATE_GENERATING' | (string & {});