Give links
This commit is contained in:
parent
80afaef542
commit
76a4900863
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user