diff --git a/packages/spike/src/tools.ts b/packages/spike/src/tools.ts index a70ae01..569a437 100644 --- a/packages/spike/src/tools.ts +++ b/packages/spike/src/tools.ts @@ -33,7 +33,7 @@ export const tools = [ name: "getDiscordThreadInformation", description: - "Get information about all threads in the current discord grid, including when it will be archived.", + "Get information about all threads in the current discord guild (including a link, name, and when it will be archived)", parameters: z.object({}), execute: async (args, runContext) => { try { @@ -44,6 +44,7 @@ export const tools = [ const threadInfo = Array.from(threads.threads.values()).map((thread) => ({ name: thread.name, archived: thread.archived, + link: thread.url, archiveTimestamp: DateTime.fromMillis(thread.archiveTimestamp || 0) .setZone(zone) .toISO(),