forked from ServiceNowDevProgram/SlackerBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appmanifest.json
80 lines (80 loc) · 2.52 KB
/
appmanifest.json
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"display_information": {
"name": "Slacker",
"description": "Say !help to see what I can do. Spoiler alert, it's not much.",
"background_color": "#5f79c7"
},
"features": {
"bot_user": {
"display_name": "Slacker",
"always_online": true
},
"slash_commands": [
{
"command": "/codesnippets",
"url": "https://YOURINSTANCENAME.service-now.com/api/x_snc_code_snippet/code_snippets/username",
"description": "Associates your GitHub Username to your slack ID",
"usage_hint": "githubname",
"should_escape": false
}
]
},
"oauth_config": {
"redirect_urls": [
"https://YOURINSTANCE.service-now.com"
],
"scopes": {
"user": [
"emoji:read",
"users:read",
"chat:write"
],
"bot": [
"calls:read",
"calls:write",
"channels:read",
"chat:write",
"dnd:read",
"files:read",
"groups:read",
"im:history",
"im:read",
"im:write",
"mpim:history",
"mpim:read",
"mpim:write",
"pins:write",
"reactions:read",
"reactions:write",
"remote_files:read",
"remote_files:share",
"remote_files:write",
"team:read",
"users:read",
"users:read.email",
"users:write",
"channels:history",
"groups:history",
"commands"
]
}
},
"settings": {
"event_subscriptions": {
"request_url": "https://YOURINSTANCE.service-now.com/api/x_snc_slackerbot/slackerbot_event_handler",
"bot_events": [
"message.channels",
"message.groups",
"reaction_added",
"team_join"
]
},
"interactivity": {
"is_enabled": true,
"request_url": "https://YOURINSTANCE.service-now.com/api/x_snc_code_snippet/code_snippets/assign"
},
"org_deploy_enabled": false,
"socket_mode_enabled": false,
"token_rotation_enabled": false
}
}