feat: add slowmode to audit log

Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
Zomatree
2026-06-25 00:02:22 +01:00
parent f86709837e
commit 1de91875c3

View File

@@ -718,6 +718,7 @@ impl Channel {
role_permissions,
nsfw,
voice,
slowmode,
..
} => {
if partial.name.is_some() {
@@ -753,6 +754,10 @@ impl Channel {
if partial.voice.is_some() || remove.contains(&FieldsChannel::Voice) {
before.voice = voice.clone();
};
if partial.slowmode.is_some() {
before.slowmode = *slowmode;
}
}
}