-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbot.yml
51 lines (51 loc) · 1.6 KB
/
bot.yml
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
name: TogglBot
description: TogglBot
email: [email protected]
slackscopes:
- bot
- commands
- incoming-webhook
config:
- name: SLACK_CHANNEL_NAME
friendly_name: Slack Channel Name
info: Default channel where messages are posted
default: time-management
type: text
global: true
- name: SLACK_NOTIFICATION_LIMIT_PERIOD
friendly_name: Time limit between warnings to users? (hours)
info: The number of hours a between warnings to prevent spamming a users
type: text
default: 24
global: true
- name: ADMIN_SLACK_TOKEN
friendly_name: Admin slack token to allow the bot to run administrative API
info: Human API slack token (tyrone's tester token)
type: secret
global: true
- name: TOGGL_API_TOKEN
friendly_name: Toggl API Token
info: Your toggl API token to access time submission for a workspace
type: secret
global: true
- name: TOGGL_WORKSPACE_NAME
friendly_name: Toggl Workspace Name
info: The workspace being reported on
type: text
global: true
- name: USER_MIN_HOURS
friendly_name: Required Hours Per Period
info: The number of hours a user must log before warning is sent
type: text
global: true
- name: USER_MIN_HOURS_IN_DAYS
friendly_name: Period Length in Days of the Required Hours
info: The period that defines the required hours length in days
type: text
global: true
- name: USER_MIN_HOURS_CHECK_FREQUENCY
friendly_name: How often to run checks? (milliseconds)
info: The number of milliseconds between checking toggl
type: text
default: 86400000
global: true