diff --git a/src/commands/setActivity.ts b/src/commands/setActivity.ts index 6267274f..cd2a50fb 100644 --- a/src/commands/setActivity.ts +++ b/src/commands/setActivity.ts @@ -6,7 +6,9 @@ import {commandFactory} from '../utils/commandFactory'; export const SetActivity = Activity.pick({ state: true, + state_url: true, details: true, + details_url: true, timestamps: true, assets: true, party: true, diff --git a/src/schema/common.ts b/src/schema/common.ts index 07225c89..66d2e5dd 100644 --- a/src/schema/common.ts +++ b/src/schema/common.ts @@ -154,7 +154,9 @@ export const Activity = zod.object({ .nullable(), application_id: zod.string().optional().nullable(), details: zod.string().optional().nullable(), + details_url: zod.string().url().optional().nullable(), state: zod.string().optional().nullable(), + state_url: zod.string().url().optional().nullable(), emoji: Emoji.optional().nullable(), party: zod .object({ @@ -167,8 +169,10 @@ export const Activity = zod.object({ .object({ large_image: zod.string().nullable(), large_text: zod.string().nullable(), + large_url: zod.string().url().optional().nullable(), small_image: zod.string().nullable(), small_text: zod.string().nullable(), + small_url: zod.string().url().optional().nullable(), }) .partial() .optional()