Skip to content

Commit bbee33a

Browse files
committed
It's ben
1 parent aebbb60 commit bbee33a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

zulip_bots/zulip_bots/schedulebot.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,12 @@ def render_name(user_id, mention=True):
147147
else:
148148
return f"**{result}**"
149149

150+
time_str = f":{shift}: Hour {shift_hour}"
151+
if hour == 168:
152+
time_str = "*WEEK TWO*"
153+
150154
lines = [
151-
f"**Shift changes for :{shift}: Hour {shift_hour} | Bustime {hour:02d}:00 - {hour+1:02d}:00 | <time:{current_time.isoformat(timespec='minutes')}>:**",
155+
f"**Shift changes for {time_str} | Bustime {hour:02d}:00 - {hour+1:02d}:00 | <time:{current_time.isoformat(timespec='minutes')}>:**",
152156
"Make sure to *mute/unmute* #**current-shift** as needed!",
153157
]
154158
if supervisor is None:
@@ -191,7 +195,8 @@ def render_name(user_id, mention=True):
191195
]
192196
if hour == last:
193197
lines += [
194-
"**Well done everyone, and thank you for all your hard work :heart:**"
198+
"# This bus keeps running because of you. Yes, you.",
199+
"# Thank you just...so, so much for joining us in this silly thing. :heart:",
195200
]
196201

197202
if stream == "DEBUG":

0 commit comments

Comments
 (0)