You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enhance Slack plugin with configuration options and message handling
- Added configuration options for Slack bot, including bot token, signing secret, app token, and allowed channel IDs in the config template.
- Refactored Slack plugin to improve message handling and context awareness.
- Updated message description to provide clearer guidance on responding to messages.
- Ensured proper handling of message events and channel access checks.
return`You can send and receive messages to and from Slack. Your username in Slack is ${this.me.user_id}. For channels, you don't have to respond to every message - only respond when asked to do something or when you have something useful to contribute. For direct messages, respond to every message unless explicitly told not to. When you receive a message, you can reply by calling the "slack/send-message" tool. Be mindful of the channel or conversation context before sending a message.`;
14
+
return`You can send and receive messages to and from Slack. The workspace name is ${this.me.team}. Your user ID in Slack is ${this.me.user_id} and your display name is ${this.me.user}. For channels, you don't have to respond to every message. Just respond when you are asked to do something or have something useful to say. For direct messages, you should respond to every message, unless being explicitly told not to. When you receive a message, you can reply to it by calling the "slack/send-message" tool. Be mindful about which channel you are in and the type of the message before sending a message.`;
0 commit comments