Give links

This commit is contained in:
Corey Johnson 2025-07-15 14:59:51 -07:00
parent 80afaef542
commit 76a4900863

View File

@ -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(),