fix: add MoveChannels permission and check permissions when moving channels

This commit is contained in:
Zomatree
2025-07-31 14:39:46 +01:00
parent e346464720
commit c020ef97ab
2 changed files with 24 additions and 6 deletions

View File

@@ -96,8 +96,10 @@ pub enum ChannelPermission {
/// Mention roles
MentionRoles = 1 << 38,
MoveChannels = 1 << 39,
// * Misc. permissions
// % Bits 38 to 52: free area
// % Bits 40 to 52: free area
// % Bits 53 to 64: do not use
// * Grant all permissions