Commit Graph

139 Commits

Author SHA1 Message Date
21cafac98a (guild_admin): statreset command.
Added the `statreset` command for resetting study statistics.
Add the `Guild Admin` command group.
2021-09-30 21:55:50 +03:00
3ab3721c99 (moderation): pardon command and warn tickets. 2021-09-30 20:51:49 +03:00
6a2da9c483 (moderation): tickets command and note ticket.
Add new `tickets` command for viewing moderation tickets.
Add `Note` ticket implementation, with command.
Add `offer_delete` context utility.
Add `guild_moderator` command ward.
2021-09-29 23:26:14 +03:00
ca442ea319 fix (LionModule): Remove DM guild ban check. 2021-09-29 12:16:29 +03:00
acc517bebc hotpatch(client): Remove presences intent. 2021-09-29 11:01:20 +02:00
db0c890dd0 fix: Typo in workouts tracker. 2021-09-28 21:06:35 +03:00
951158ebc2 fix: Add missing file 2021-09-28 21:05:05 +03:00
9ae0de034f (Sysadmin): Add guild and user blacklist.
v2 -> v3 data migration for the blacklist tables.
Added blacklists and blacklist commands
Added bot admin level to help groups.
2021-09-28 20:54:22 +03:00
b792b081b8 (core): Attach tables as client.data. 2021-09-28 15:12:08 +03:00
6506c440e3 fix (rooms): Use original cost when cancelling. 2021-09-28 15:11:52 +03:00
906dc70e3a (rooms): Add interactive lock.
Add an interactive lock so users cannot have multiple menus open simultaneously.
2021-09-28 14:45:25 +03:00
8e86da4abf fix (video): Don't pre-load with no channels. 2021-09-28 09:07:03 +03:00
47b29e5400 (accountability): Small fixes.
Check whether guild exists on booked list.
Remove some debugs.
2021-09-28 09:05:49 +03:00
b12a1cdf6c (logger): Separate error live logging. 2021-09-28 09:03:11 +03:00
c1b53cedd2 UI (rooms) Mention session guild. 2021-09-27 23:02:21 +03:00
706133f29a fix (rooms): Fix time display again. 2021-09-27 22:23:45 +03:00
20e3d4efe0 fix (rooms): Show hour/minute not minute/second. 2021-09-27 22:20:23 +03:00
ebeb3bec7a UI (accountability): rooms command improvements. 2021-09-27 22:13:03 +03:00
5ca10d5f74 fix (studybadges): Fix empty badge removal error. 2021-09-27 21:43:42 +03:00
f17a2d839a fix (studybadges): Fix cache refresh on update. 2021-09-27 21:31:44 +03:00
f49126ef2b (Logging): Remove guild icon to protect privacy. 2021-09-27 17:35:14 +03:00
e45ffc94ba UI (help): Improve help hint. 2021-09-27 11:19:49 +03:00
6b90f1af8e UI (settings): Add Duration default unit. 2021-09-27 10:54:48 +03:00
877db72b22 UI (seekers): Improve channel seeker error. 2021-09-27 10:36:29 +03:00
ae4082bf76 UI (moderation): Simplify studyban notification. 2021-09-27 10:03:52 +03:00
49f99c69b6 fix (video_mod): Typo in setting response. 2021-09-25 17:49:47 +03:00
2cfe95a66a Merge branch 'moderation' into python-rewrite 2021-09-25 14:49:43 +03:00
6f48f47ffd (Moderation): Base moderation and video system.
Migration to data v2.
Complete core Ticket-based moderation system.
StudyBan ticket implementation.
Video-channel tracking system.
2021-09-25 14:43:28 +03:00
b2aa651eaa fix (rooms): Harden against race conditions.
Add locking to room init, turnover, and cancellation.
Add cleanup of nonexistent members in slot init.
Fix an issue where members were being charged for cancelling rooms.
2021-09-24 21:12:12 +03:00
6be3d075bc fix (rooms): Handle changing iterator in open.
Uses a shallow copy of the accountability guild values.
2021-09-23 21:10:02 +03:00
a8435123ac (rooms): Add space in cmd room format. 2021-09-23 21:07:02 +03:00
2d8d84e2f6 fix (rooms): Fix attr typo in category setting. 2021-09-23 21:06:01 +03:00
a393490f77 fix (tasklist): Task limit ignores expired tasks. 2021-09-23 21:04:20 +03:00
87f3918126 (Moderation): New module and core system.
Incomplete commit!
Core ticket-based moderation system, with data.
2021-09-23 13:40:17 +03:00
4a0670db65 (Shop): Improve logging.
Remove extraneous `await` in the `clear` branch.
Improved error message while purchasing colour role.
2021-09-22 14:33:17 +03:00
026c9a6567 fix (rooms): Improve last-minute booking handling.
Fix an issue where channel permissions wouldn't get updated.
Fix an issue where a member couldn't cancel an open session.
2021-09-22 14:22:02 +03:00
2e28080fd0 fix (rooms): Fix a type issue with member data.
Fixes an issue where member data would sometimes return as `Decimal`,
causing a cascade failure in accountability startup.
2021-09-22 13:56:28 +03:00
2dfc3ece1e (bot_admin): Add status updates and guild logs.
New guild log config for posting joined/left guilds.
New status updater to show voice channel activity.
2021-09-21 18:23:37 +03:00
d9c676b262 (Tasklist): Make tasklists global. 2021-09-21 17:21:12 +03:00
8127d7e8ff fix (rooms): Fix typo. 2021-09-21 16:58:20 +03:00
73cceb0412 (Core data): Restart when DB is inaccessible. 2021-09-21 16:06:30 +03:00
ce3af79d3c fix (rooms): Support joining open slot. 2021-09-21 15:38:48 +03:00
4c5ddf48d1 fix (tasklist): Call to deactivation scheduler. 2021-09-21 09:09:16 +03:00
adcd6a8506 fix (rooms cmd): Fix slot filtering in booking. 2021-09-20 20:49:12 +03:00
1452b34f64 (Rooms): Allow booking from the next hour. 2021-09-20 15:49:52 +03:00
40e7735a87 fix (rooms): Fix order of checks in rent. 2021-09-20 10:58:53 +03:00
ab4158ce5b fix (Economy): Remove unnecessary await. 2021-09-20 10:54:37 +03:00
8dbe86e228 fix (rooms): Correct overwrites in adding members. 2021-09-20 10:53:59 +03:00
758b0f5a01 fix (workout): wait for sleep 2021-09-20 10:08:15 +03:00
ad773c95d3 fix (Trackers): Ignore bots for workout and study. 2021-09-20 10:01:26 +03:00