We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ce726b commit 916cbcaCopy full SHA for 916cbca
src/events/ai/tools.ts
@@ -22,6 +22,9 @@ export const gatherChannelContext = tool({
22
}),
23
execute: async ({ channelId, guildId, messageCount }) => {
24
try {
25
+ console.log(
26
+ `Gathering AI context from channel ${channelId} in guild ${guildId}...`
27
+ );
28
const guild = await bot.guilds.fetch(guildId).catch(() => null);
29
if (!guild) {
30
return { success: false, error: "Guild not found" };
0 commit comments