Commit Graph

337 Commits

Author SHA1 Message Date
2ff4805d6c (Lion): Make economy bonus logic explicit. 2022-01-19 14:54:11 +02:00
0948f29e76 (routine): Update cmdClient pointer. 2022-01-19 14:14:01 +02:00
Interitio
d352af395a Merge pull request #20 from ShootingKing-AM/feature-topgg
New module Topgg
2022-01-19 13:57:07 +02:00
Harsha Raghu
038aabddfa [Topgg][Admin][Economy] Implement addCoins cb 2022-01-18 22:42:28 +05:30
Harsha Raghu
5b4d54a3b9 [Core] Expose addCoins to modules 2022-01-18 22:41:40 +05:30
Harsha Raghu
2c9e62002a [Fix] Add prefix in reminders 2022-01-18 21:50:22 +05:30
Harsha Raghu
b4e8416900 Final *finalize* UI Texts and some typos 2022-01-18 21:43:50 +05:30
Harsha Raghu
417e31c7ab Finalize Topgg bot messages 2022-01-18 21:14:05 +05:30
Harsha Raghu
19816198b0 [Reminder] Allow footer and title modification
Module will be more more flexible
2022-01-18 21:12:48 +05:30
Harsha Raghu
9615f2037e [Topgg] Commands, Settings and Utilities 2022-01-18 00:18:59 +05:30
Harsha Raghu
ce59a8cc3f [Topgg] Webhook implementation 2022-01-18 00:18:35 +05:30
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
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
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
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
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
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
5f3e765b51 fix (goals): Fix typo. 2021-12-30 23:06:46 +02:00