111 Commits

Author SHA1 Message Date
oSumAtrIX
4b75d76c17
fix: Handle response whitelist and blacklist correctly 2024-06-14 21:17:34 +02:00
oSumAtrIX
b87c601e53
feat: Don't delete triggering message when replying to message 2024-06-04 03:07:13 +02:00
oSumAtrIX
256666d43f
chore: Fix linter warnings 2024-01-22 00:51:44 +01:00
oSumAtrIX
dc0b760714
feat: Remove poll command 2024-01-22 00:24:14 +01:00
oSumAtrIX
b9b7eee6a3
feat: Use better cure message 2024-01-22 00:17:17 +01:00
oSumAtrIX
b385558b28
refactor: Handle events through poise framework 2024-01-21 23:35:41 +01:00
oSumAtrIX
55a5ddfe5e
feat: Cure on presence update 2023-10-26 17:48:23 +02:00
oSumAtrIX
a8e9a9bb49
build: Bump Serenity 2023-10-26 17:46:43 +02:00
oSumAtrIX
cbc336cc63
feat: add option to check for first thread message only 2023-07-10 02:31:11 +02:00
oSumAtrIX
3aab088c36
feat add: roles whitelisting for auto responder 2023-07-10 00:06:57 +02:00
oSumAtrIX
aba93d89cd
feat: respond to message reference 2023-07-08 17:46:26 +02:00
Ushie
cc83a390df
fix: send error replies as ephemeral (#71)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-07-06 22:17:14 +02:00
oSumAtrIX
cb2ec9eb9a
refactor: reformat using cargo 2023-06-22 02:19:52 +02:00
oSumAtrIX
736f08fe6e
refactor: apply clippy lint 2023-06-22 01:44:34 +02:00
oSumAtrIX
88902ace64
fix: check parent channels when thread_option is present 2023-06-22 01:19:35 +02:00
oSumAtrIX
b470563aab
feat: add thread options to message responses 2023-06-21 23:58:17 +02:00
oSumAtrIX
bc6e00e15b
feat: remove thread introductions 2023-06-21 22:46:53 +02:00
oSumAtrIX
83c14c9a19
fix: dispatch ThreadCreate event to poise 2023-06-21 21:39:07 +02:00
oSumAtrIX
26c3c5fedc
feat: remove media channels 2023-06-21 21:38:43 +02:00
oSumAtrIX
895f3c19d3
chore: remove useless trace log 2023-06-21 21:38:16 +02:00
oSumAtrIX
67a4c963e0
perf: run message handlers concurrently 2023-06-21 21:17:51 +02:00
oSumAtrIX
16db9b39f1
refactor: use proper file names 2023-06-21 21:15:53 +02:00
oSumAtrIX
580235beb8
feat: make configurations optional 2023-05-28 02:46:33 +02:00
Ushie
8f10edd7dc
feat(parse-duration): use better crate 2023-05-12 03:59:06 +03:00
Ushie
2379130c5a
feat: use go-parse-duration for time parameters (#69)
* feat: use `go-parse-duration` for time parameters

* revert: accidental parameter type change

* refactor: move `parse_duration` to `mod.rs`

* refactor: use functional approach to handle error

* refactor: remove unused import

---------

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-05-12 01:42:52 +03:00
Ushie
66c64e2950
feat(moderation): reorder purge parameters 2023-04-10 22:14:51 +03:00
oSumAtrIX
f6d9817bb1
feat: send code embeds as files 2023-03-30 01:57:08 +02:00
oSumAtrIX
991a90cfa9
feat: clarify poll eligibility 2023-03-27 22:03:08 +02:00
oSumAtrIX
3e86a2cdb7
feat: add option to enable or disable pings when polling 2023-03-27 21:34:30 +02:00
oSumAtrIX
8fad7e71b6
feat: add thumbnail and footer to interaction response embed 2023-03-27 02:42:53 +02:00
oSumAtrIX
85b43f1c59
chore: update cargo dependencies 2023-03-27 01:51:13 +02:00
oSumAtrIX
14a1052cd8
feat: clone message to create a poll 2023-03-27 01:00:35 +02:00
oSumAtrIX
b9fa498950
fix: use correct substitute name if necessary 2023-03-13 05:09:48 +01:00
oSumAtrIX
ccc3834210
feat: cure names that don't start with an alphabetic character 2023-03-13 05:08:15 +01:00
Ax333l
9b7b2d49d5
style(clippy): use variables in the format string directly 2023-02-03 19:29:47 +01:00
Ax333l
b2fda777e4
chore(poll): update target url 2023-02-03 17:14:41 +00:00
Ax333l
d7dc351605
feat(poll api): use hmac and base64 2023-01-12 22:11:10 +01:00
Ax333l
5229cd6654
feat(poll api): improve error handling (#52) 2023-01-09 20:34:56 +00:00
Ax333l
05ff0a27d2
fix(moderation): properly convert UserId to Member (#50) 2023-01-07 00:03:46 +00:00
oSumAtrIX
8376eb9b4e
feat: simplify code block embeds 2023-01-07 00:02:31 +01:00
oSumAtrIX
7e2db945a0
fix: correctly find slice_end 2023-01-06 05:23:27 +01:00
oSumAtrIX
f754cd3107
refactor: apply clippy suggestions 2023-01-06 05:16:44 +01:00
oSumAtrIX
6cc775a2e4
feat(misc): embed code links 2023-01-06 05:07:21 +01:00
Ax333l
bf0c34e167 fix(moderation): don't fail when taken_roles is empty 2023-01-04 17:02:34 +01:00
Ax333l
503e095bd0 fix(moderation): properly schedule unmutes 2023-01-04 17:02:34 +01:00
Ax333l
99c476df9a
feat(poll api): hash discord user id (#48) 2023-01-04 12:48:27 +00: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