docs(slack): order recommended scopes and events

This commit is contained in:
@zimeg
2026-04-03 01:10:42 -07:00
parent 6f23e513cc
commit dc45faaf4e
2 changed files with 31 additions and 31 deletions

View File

@@ -420,9 +420,15 @@ Notes:
"oauth_config": {
"scopes": {
"bot": [
"chat:write",
"app_mentions:read",
"assistant:write",
"channels:history",
"channels:read",
"chat:write",
"commands",
"emoji:read",
"files:read",
"files:write",
"groups:history",
"im:history",
"im:read",
@@ -430,17 +436,11 @@ Notes:
"mpim:history",
"mpim:read",
"mpim:write",
"users:read",
"app_mentions:read",
"assistant:write",
"reactions:read",
"reactions:write",
"pins:read",
"pins:write",
"emoji:read",
"commands",
"files:read",
"files:write"
"reactions:read",
"reactions:write",
"users:read"
]
}
},
@@ -449,17 +449,17 @@ Notes:
"event_subscriptions": {
"bot_events": [
"app_mention",
"channel_rename",
"member_joined_channel",
"member_left_channel",
"message.channels",
"message.groups",
"message.im",
"message.mpim",
"reaction_added",
"reaction_removed",
"member_joined_channel",
"member_left_channel",
"channel_rename",
"pin_added",
"pin_removed"
"pin_removed",
"reaction_added",
"reaction_removed"
]
}
}

View File

@@ -50,9 +50,15 @@ function buildSlackManifest(botName: string) {
oauth_config: {
scopes: {
bot: [
"chat:write",
"app_mentions:read",
"assistant:write",
"channels:history",
"channels:read",
"chat:write",
"commands",
"emoji:read",
"files:read",
"files:write",
"groups:history",
"im:history",
"im:read",
@@ -60,17 +66,11 @@ function buildSlackManifest(botName: string) {
"mpim:history",
"mpim:read",
"mpim:write",
"users:read",
"app_mentions:read",
"assistant:write",
"reactions:read",
"reactions:write",
"pins:read",
"pins:write",
"emoji:read",
"commands",
"files:read",
"files:write",
"reactions:read",
"reactions:write",
"users:read",
],
},
},
@@ -79,17 +79,17 @@ function buildSlackManifest(botName: string) {
event_subscriptions: {
bot_events: [
"app_mention",
"channel_rename",
"member_joined_channel",
"member_left_channel",
"message.channels",
"message.groups",
"message.im",
"message.mpim",
"reaction_added",
"reaction_removed",
"member_joined_channel",
"member_left_channel",
"channel_rename",
"pin_added",
"pin_removed",
"reaction_added",
"reaction_removed",
],
},
},