mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-24 16:32:29 +00:00
Discord: advertise shared interactive support
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user