Skip to content

Hackathon (Cog)

Isaac Beh edited this page Aug 20, 2023 · 1 revision

This cog provides all commands related to UQCS hackathons. Currently this just consists of /hackathon, which provides a countdown, either to the next hackathon or to tools down of the current hackathon. To do this, the environment variables HACKATHON_START_TIME and HACKATHON_END_TIME need to be updated (see the environment variables page).

It also contains the countdown_string function, which turns a timedelta into a string usable for countdowns (with days, hours, minutes and seconds in a readable format). This may be useful for other functions in the future.

Clone this wiki locally