Commit Graph

2309 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
e526503bac [Conf] Topgg specifc settings 2022-01-18 00:11:10 +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
Harsha Raghu
6e005cf042 [Data-Interface] Allow single column selection 2022-01-15 16:02:52 +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
e220ab9dfd fix (LionModule): Always pre-fetch lion. 2022-01-14 17:55:32 +02:00
390315e940 fix (setprofile): Disallow editing tag 0. 2022-01-14 17:36:24 +02:00
767ddc750c Merge branch 'staging' of cgithub:StudyLions/StudyLion into staging 2022-01-14 17:32:18 +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
437adf87e4 [Context] Implement LionContext
Need to append a Text to all bot replies to ask people to !vote
- Implement LionContext
- Implement Callback handler to enable Modules intercept cmdClient.Context.Utils() (attr calls)
2022-01-14 18:52:51 +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
Interitio
67fc05d496 Merge pull request #19 from ShootingKing-AM/fix-db-schema
Fix Database Schema
2022-01-12 16:32:58 +02:00
Harsha Raghu
7a8342c7f7 Fix Database Schema
Extra ',' resulting in errors when freshly reconstructing lionbot DB
2022-01-12 19:58:27 +05:30
Interitio
b37671f1ab Merge pull request #18 from StudyLions/staging
Pomodoro Timers
2022-01-12 15:42:59 +02:00
3d5a1e9942 (sessions): Ignore bots. 2022-01-12 15:37:03 +02:00
fc95742cc1 Merge branch 'staging' of cgithub:StudyLions/StudyLion into staging 2022-01-12 10:17:49 +02:00
Interitio
16c7306f3e Merge pull request #17 from StudyLions/feature-timer
Pomodoro timer implementation
2022-01-12 10:16:20 +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
aa6117c5a2 (data): Fix function migration issue. 2022-01-11 23:34:06 +02:00
e6e0d7a9a3 (sessions): Add customisable study tags. 2022-01-11 23:31:42 +02:00
0e5a11ee41 (wards): guild_admin inherits from owner ward. 2022-01-11 20:02:33 +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
5fbf84537d (data): Start migration v7 -> v8. 2022-01-10 18:55:00 +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
0cdb2bbdca Merge branch 'staging' into feature-timer 2022-01-06 09:34:37 +02:00
223d45416d fix (utils): Typo in embed_reply error handling. 2022-01-06 09:33:14 +02:00
08efbb15b6 fix (rroles): Sign error in expiry. 2022-01-06 09:32:25 +02:00
bad9071e82 (routine): Update required data version. 2022-01-06 09:31:37 +02:00
Interitio
c7d0faadbf Merge pull request #16 from StudyLions/staging
Improved statistics
2022-01-01 17:13:33 +02:00
24d2e17cae Merge branch 'staging' into feature-timer 2022-01-01 07:07:25 +02:00
e839af2849 Merge branch 'staging' of cgithub:StudyLions/StudyLion into staging 2022-01-01 07:07:09 +02:00