Commit Graph

245 Commits

Author SHA1 Message Date
Harsha Raghu
61d192e27b Update module.py
- specify logging context
2022-01-18 00:16:14 +05:30
Harsha Raghu
724a39a940 [Topgg] Finalize module framework 2022-01-18 00:14:18 +05:30
Harsha Raghu
0bb96aeeb2 [DB][CORE][Topgg] Update DB to accommodate Topgg module 2022-01-18 00:10:25 +05:30
Harsha Raghu
36a98b1224 [Remainders] Update
- Send no context if None type is present
2022-01-18 00:08:25 +05:30
Harsha Raghu
b92866f954 Implement !vote and update reply cbHandler
- Also init'ed Remind me framework
2022-01-15 16:06:08 +05:30
24791867cf tweaks: Update setting defaults.
`video_grace_period` now 90 seconds.
`task_limit` now 99.
`rent_member_limit` now 24.

Also updated `Integer` default `_min` and `_max` to match DB values.
2022-01-14 19:45:24 +02:00
50da6b18d2 (sessions): Account for rounding error in expiry.
Also make `_expiry_task` properly cancellable.
Fixes an issue where `schedule_expiry` would always reschedule itself.
2022-01-14 19:38:40 +02:00
beb7a737d4 (rooms): Fetch guilds from other shards.
Manually requests guilds from other shards in `rooms` display.
2022-01-14 18:59:28 +02:00
b124cf8e1e (timers): Destroy timers when channel is gone. 2022-01-14 18:30:10 +02:00
390315e940 fix (setprofile): Disallow editing tag 0. 2022-01-14 17:36:24 +02:00
Harsha Raghu
521dd340bc [Topgg] Update module
- Implement Sending DM to user
- Implement launch and unload tasks to register reply Ctx.Util calls
- Implement reply callback handler
- Implement !focevote cmd to simulate vote
2022-01-14 18:54:58 +05:30
Harsha Raghu
a2fcdf075f [DB] Init Topgg DB Framework 2022-01-14 18:49:51 +05:30
Harsha Raghu
3e0c1be33e Init Framework 2022-01-13 14:03:23 +05:30
4f5bb77a28 fix (help): Add missing comma. 2022-01-13 06:43:52 +02:00
3d5a1e9942 (sessions): Ignore bots. 2022-01-12 15:37:03 +02:00
b90cfbc615 (help): Add Pomodoro help group. 2022-01-12 10:15:13 +02:00
6b7c708fa2 fix (timer): Fix typo in --text setting. 2022-01-12 09:40:34 +02:00
d1f27ca826 (cmd_now): Wording updates and clear pathway. 2022-01-12 09:02:26 +02:00
1629a34ea1 fix: Add forgotten commands file. 2022-01-11 23:35:04 +02:00
e6e0d7a9a3 (sessions): Add customisable study tags. 2022-01-11 23:31:42 +02:00
29aff1bcb2 (timer): Add timers alias. 2022-01-11 19:54:18 +02:00
9e9ae18a4a (timer): Update notify instruction order.
Resolves a potential race condition between joining and updating.
2022-01-11 19:45:28 +02:00
331dece859 (timer): Lower limit on stage length. 2022-01-11 17:55:22 +02:00
271ecfffa4 (timer): Channel template changes. 2022-01-11 17:51:21 +02:00
4cd4fab68f (timer): Various bugfixes. 2022-01-11 10:32:30 +02:00
f409d2b955 fix (timer): Fix typo. 2022-01-10 19:05:04 +02:00
e6cbd31a23 (timer): Better timer listing UI. 2022-01-10 18:35:51 +02:00
14cab843a3 (timer): Limit number of timers per guild. 2022-01-10 17:23:44 +02:00
dd4fa985df (timer): UI improvements.
Add `pomodoro_channel` guild setting.
Add customisable per-timer text channel.
Improve `reaction_message` flow.
Change algorithm for updating vc name.
Add `stage` and `pattern` vc name substitutions.
2022-01-10 17:02:14 +02:00
5431877569 feature (timer): Core pomodoro system. 2022-01-08 02:58:16 +02:00
08efbb15b6 fix (rroles): Sign error in expiry. 2022-01-06 09:32:25 +02:00
5f3e765b51 fix (goals): Fix typo. 2021-12-30 23:06:46 +02:00
7e3f1a2fbb fix (goals): Fix reference to old limits. 2021-12-30 22:51:04 +02:00
d0e987d0b1 fix (goals): Order retrieved tasklist. 2021-12-30 22:46:16 +02:00
7acf7476a4 (goals): Update limits. 2021-12-30 22:39:23 +02:00
e0c8993167 (goals): Add missing goals command. 2021-12-30 14:01:04 +02:00
d60a8772a3 feature (stats): Weekly and monthly goals.
Add a new editing interface for weekly and monthly goals.
Textual viewing interface is currently a stub.
Add `month_timestamp` and `week_timestamp` lion properties.
2021-12-30 11:26:58 +02:00
fa430b8403 fix (todo): Correctly filter deleted tasks. 2021-12-30 10:57:30 +02:00
b1bcee8cc6 fix (setprofile): Guard against empty input. 2021-12-29 21:57:32 +02:00
113ff0379a fix (setprofile): Update tag parsing. 2021-12-29 21:55:25 +02:00
c519725755 fix (setprofile): Add check for max tasks. 2021-12-29 20:49:49 +02:00
46bf03ae25 feature (setprofile): Profile tag editor. 2021-12-29 20:20:17 +02:00
6aaa2377a4 refactor: Split stats module from study. 2021-12-29 20:19:35 +02:00
e2c096f350 (todo): Add extra metrics for stats.
v6 -> v7 data migration.
Use soft deletion for tasks.
Remove task expiry.
Migrate `complete` field to `completed_at`.
2021-12-29 08:27:53 +02:00
36f92add4e (todo): Small refactor.
Refactor `Tasklist` to allow for alternative (plugin) implementation.
2021-12-28 15:15:47 +02:00
46fd2b65e4 fix (rooms): Ignore vanishing lobby channel. 2021-12-28 00:27:59 +02:00
e979e5cf45 sharding (reminders): Adapt for sharding.
Restrict reminder execution to shard `0`.
Add a poll on shard `0` to pick up new reminders.
Check whether the reminder still exists on execution.
2021-12-22 20:35:06 +02:00
0dd5213f13 sharding (accountability): Adapt for sharding.
Filter initially loaded accountability guilds.
Filter timeslots loaded in `open_next`.
Reload members and overwrites on slot start.
2021-12-22 19:07:28 +02:00
68ff40cb0b sharding (status): Use sessions for bot status.
Uses the `current_sessions` table to generate the status summary.
2021-12-22 17:42:33 +02:00
276886a3a7 sharding (general): Add launch data filters.
Filter cached reaction role messages by shardid.
Filter expiring rented room by shardid.
Filter scanned study badges by shardid.
Filter resumed study sessions by shardid.
Filter resumed workouts by shardid.

Fix a spacing issue in the log printer.
2021-12-22 17:26:49 +02:00