feat: Audit Logs (#466)

* fix: squash audit log branch changes

Signed-off-by: Zomatree <me@zomatree.live>

* feat: emoji edit + pronoun

Signed-off-by: Zomatree <me@zomatree.live>

* fix: use tokio instead of async-std

Signed-off-by: Zomatree <me@zomatree.live>

* feat: add slowmode to audit log

Signed-off-by: Zomatree <me@zomatree.live>

* chore: update comments on permissions

Signed-off-by: Zomatree <me@zomatree.live>

---------

Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
Zomatree
2026-07-13 21:39:28 +01:00
committed by GitHub
parent f60c8340f4
commit 502203d37c
57 changed files with 2014 additions and 150 deletions

View File

@@ -100,8 +100,11 @@ pub enum ChannelPermission {
/// Mention roles
MentionRoles = 1 << 38,
/// Access server audit logs
ViewAuditLogs = 1 << 40,
// * Misc. permissions
// % Bits 39 to 52: free area
// % Bits 41 to 52: free area
// % Bits 53 to 64: do not use
// * Grant all permissions