Skip to content

Commit 470b807

Browse files
authored
Merge pull request #581 from 18F/dmm/remove-tock-references
Remove all tock references
2 parents 0a2b459 + c681413 commit 470b807

17 files changed

+1
-1765
lines changed

.env-sample

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,11 @@
22
SLACK_TOKEN=
33
SLACK_SIGNING_SECRET=
44

5-
# These are required for Angry and Optimistic Tock scripts
6-
TOCK_API=
7-
TOCK_TOKEN=
8-
95
# These are overridden by docker-compose
106
DATABASE_URL=
117
LOG_LEVEL=
128
PORT=
139

14-
# These configure Angry Tock's behavior
15-
ANGRY_TOCK_FIRST_TIME=
16-
ANGRY_TOCK_REPORT_TO=
17-
ANGRY_TOCK_SECOND_TIME=
18-
ANGRY_TOCK_TIMEZONE=
19-
2010
# These configure holiday reminders
2111
HOLIDAY_REMINDER_CHANNEL=
2212
HOLIDAY_REMINDER_TIME=

.github/workflows/on_pull_request_tock_ops.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,6 @@ QUEAAD
140140
└──Q: FAS (TTS)
141141
```
142142

143-
##### Tock line
144-
145-
What Tock line do I bill this project to? Ugh, who can remember? Charlie can!
146-
In a channel, you can say `@charlie set tock <number>` and Charlie will remember
147-
the Tock line for that room. In the future, if you need to know what to bill to,
148-
say `@charlie tock` and it will let you know. Handy!
149-
150143
##### US Code Bot
151144

152145
The law sure is fun, and Charlie can help you look it up! If you drop a citation
@@ -185,15 +178,6 @@ What a great bot, helping nudge us all to thoughtful, inclusive language! We als
185178
maintain [a history](https://github.com/18F/charlie/blob/main/CHANGELOG.inclusion_bot.md)
186179
of the evolution of Inclusion Bot.
187180

188-
##### Optimistic / Angry Tock
189-
190-
At the end of the work week, Charlie will send a private message to any Tockable
191-
people who haven't submitted their Tock yet to remind them to do it. At the
192-
start of the next work week, Charlie will send a message to people who still
193-
haven't submitted their Tock. Finally, at the end of the first day of the work
194-
week, Charlie will send a message to 18F supervisors letting them know about
195-
anyone whose Tock report is late.
196-
197181
##### Travel team
198182

199183
Did you know that the TTS Travel team takes weekends and holidays too? It's

docker-compose.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
- POSTGRES_PASSWORD=charlie-bot
1010
- POSTGRES_USER=charlie-bot
1111
ports:
12-
- 54329:5432
12+
- 54329:5432
1313

1414
charlie:
1515
build: .
@@ -20,15 +20,10 @@ services:
2020
- HOLIDAY_REMINDER_CHANNEL=${HOLIDAY_REMINDER_CHANNEL}
2121
- HOLIDAY_REMINDER_TIME=${HOLIDAY_REMINDER_TIME}
2222
- HOLIDAY_REMINDER_TIMEZONE=${HOLIDAY_REMINDER_TIMEZONE}
23-
- ANGRY_TOCK_FIRST_TIME=${ANGRY_TOCK_FIRST_TIME}
24-
- ANGRY_TOCK_SECOND_TIME=${ANGRY_TOCK_SECOND_TIME}
25-
- ANGRY_TOCK_TIMEZONE=${ANGRY_TOCK_TIMEZONE}
2623
- DATABASE_URL=postgres://charlie-bot:charlie-bot@database/charlie
2724
- LOG_LEVEL=debug
2825
- SLACK_SIGNING_SECRET=${SLACK_SIGNING_SECRET}
2926
- SLACK_TOKEN=${SLACK_TOKEN}
30-
- TOCK_API=${TOCK_API}
31-
- TOCK_TOKEN=${TOCK_TOKEN}
3227
working_dir: /app
3328
volumes:
3429
- ./:/app

src/scripts/angry-tock.js

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)