Repository navigation
v1.3.0
Reminders
/remindme now takes durations the way people type them.
- Years and months:
/remindme 18 years,3 months,1y 6mo. Calendar-aware, so 18 years lands on the same date and time 18 years out, leap days included. - Units spelled out or abbreviated:
10 minutes,2 hours 15 mins,an hour,in a week,1.5h. - The cap goes from 365 days to 100 years.
- The message is optional.
- Fixes
2 monthsbeing read as 2 minutes. - The confirmation shows the full date and time as well as the relative time.
Trivia
Trivia is now one daily question instead of a 25-second race. Everyone gets the same single chance each day, so the leaderboard is a fair count of correct answers.
- The question posts once a day to
TRIVIA_CHANNEL_ID. The answer and results are revealed with the next day's post. - Harder questions are worth more points (1/2/3). Streaks skip days when no question was posted, so an outage does not break a streak.
- Practice questions are kept off the leaderboard.
Upgrading
Set TRIVIA_CHANNEL_ID to enable the daily question. python-dateutil is now listed in requirements.txt; it was already installed as a matplotlib dependency.