Discord: advertise shared interactive support

This commit is contained in:
Vincent Koc
2026-03-15 18:45:39 -07:00
parent 68a809298d
commit 1a0313bb1f

View File

@@ -106,6 +106,8 @@ export const discordMessageActions: ChannelMessageActionAdapter = {
}
return Array.from(actions);
},
supportsInteractive: ({ cfg }) =>
listTokenSourcedAccounts(listEnabledDiscordAccounts(cfg)).length > 0,
extractToolSend: ({ args }) => {
const action = typeof args.action === "string" ? args.action.trim() : "";
if (action === "sendMessage") {