-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathslack-app-manifest.yaml
46 lines (46 loc) · 2.14 KB
/
slack-app-manifest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
display_information:
name: ChatGPT # The name of the app itself
features:
bot_user:
display_name: ChatGPT # The name of the bot that communicates with people. I recommend having app name and bot name the same
always_online: true # Shows the bot as if it's online
slash_commands:
# Commands defined here must be forwarded to the commands endpoint. You may delete any command you don't wish to have in your workspace.
- command: /chatgpt
url: [baseUrl]/[language]/slack/commands
description: Change bot response mode
usage_hint: "[all|mentions]"
should_escape: false
- command: /chatgpt-api-key
url: [baseUrl]/[language]/slack/commands
description: Provide your own api key
usage_hint: "[apiKey] [organizationId]"
should_escape: false
- command: /chatgpt-model
url: [baseUrl]/[language]/slack/commands
description: Change the model you use
usage_hint: "[model|status]"
should_escape: false
oauth_config:
scopes:
bot:
- app_mentions:read # respond to direct mentions
- channels:history # read history of a channel, needed to be able to have a conversation with multiple messages
- channels:read # read some basic information about the channel
- chat:write # general permission to allow writing messages as the bot user
- im:history # read private conversation between a user and this bot
- im:read # read some basic information about the private conversation
- im:write # start a new private conversation
- commands # slash commands, if you don't use any of them, you may delete this
settings:
event_subscriptions:
request_url: [baseUrl]/[language]/slack/events
bot_events:
- message.channels # get notified about events in channels the bot is part of, you may delete this if you want the bot to only respond to private messages
- message.im # get notified about private messages between a user and this bot
interactivity:
is_enabled: true
request_url: [baseUrl]/[language]/slack/interactivity # for handling buttons etc.
org_deploy_enabled: false
socket_mode_enabled: false
token_rotation_enabled: false