23 Commits

Author SHA1 Message Date
Ax333l
503e095bd0 fix(moderation): properly schedule unmutes 2023-01-04 17:02:34 +01:00
Ax333l
4c35fe5327 refactor(moderation): improve unmute scheduling 2023-01-03 13:58:45 +01:00
Ax333l
5fcad81483 fix(moderation): UserId instead of Member parameter
Context: https://github.com/revanced/revanced-discord-bot/issues/38
2023-01-03 13:58:45 +01:00
Ax333l
a8cedfc1c0
fix(moderation): use correct mute duration (#46)
sorry
2022-12-20 11:38:11 +01:00
Canny
573d907c1d
feat: permanently mute when no duration is specified (#44)
* feat: permanently mute when no duration is specified

Co-authored-by: Sculas <contact@sculas.xyz>

Co-authored-by: Ax333l <Axelen123@users.noreply.github.com>

* refactor: remove unneeded if statement

* fix: unset expires field when permanently muting

* fix: clippy

Co-authored-by: Ax333l <Axelen123@users.noreply.github.com>
Co-authored-by: Ax333l <main@axelen.xyz>
2022-12-19 18:02:20 +00:00
Ushie
78f954b7e8
feat(moderation): improve log embeds (#37)
Co-authored-by: Ax333l <main@axelen.xyz>
2022-12-03 03:58:38 +01:00
Ax333l
b2aa39b9b6
feat(moderation): disconnect from voice channel on mute (#39) 2022-12-01 18:15:05 +01:00
oSumAtrIX
2f67c59bb3
fix(moderation): save overwrites before modifying them 2022-10-07 13:01:30 +02:00
oSumAtrIX
abdc0922eb
feat: lock & unlock commands 2022-08-30 02:27:15 +02:00
oSumAtrIX
4ab4c7e00c
feat: media and logging channels and unban command 2022-08-28 07:34:59 +02:00
oSumAtrIX
b7d333c86c
feat: unban command 2022-08-28 02:08:00 +02:00
oSumAtrIX
042fc8c466
feat: handle mute when rejoining the server 2022-08-25 23:15:09 +02:00
oSumAtrIX
3ad345b009
perf: clone Arc of data.database 2022-08-25 03:36:23 +02:00
oSumAtrIX
29be605c22
refactor: lint 2022-08-21 22:51:12 +02:00
oSumAtrIX
efaa6190e5
feat: ban command 2022-08-21 22:43:43 +02:00
oSumAtrIX
25efe87776
fix: incorrect command option description 2022-08-21 22:43:43 +02:00
oSumAtrIX
8045e180e9
feat: command descriptions 2022-08-21 22:43:42 +02:00
oSumAtrIX
3f1d6af569
refactor: remove unnecessary mutex 2022-08-21 22:43:42 +02:00
oSumAtrIX
204e7e6194
refactor: simplify Data 2022-08-21 03:33:24 +02:00
reis
55d0aaff21
feat: format timestamp (#17) 2022-08-20 17:20:24 +02:00
oSumAtrIX
c0bcc0a12b
fix: allow lints 2022-08-20 16:14:23 +02:00
oSumAtrIX
54171ba2ce
feat: moderation commands 2022-08-20 15:45:02 +02:00
oSumAtrIX
ba7b82a6de
feat: migrate to command framework 2022-08-09 18:08:16 +02:00