feat: initial bulk role reorder route

This commit is contained in:
Zomatree
2025-06-08 11:18:47 +01:00
committed by izzy
parent 8cc4bbea4d
commit c526095d4f
5 changed files with 94 additions and 10 deletions
+6
View File
@@ -267,6 +267,7 @@ auto_derived!(
pub hoist: Option<bool>,
/// Ranking position
///
/// **Deprecated** - use the edit server role positions route.
/// Smaller values take priority.
pub rank: Option<i64>,
/// Fields to remove from role object
@@ -286,4 +287,9 @@ auto_derived!(
/// Whether to not send a leave message
pub leave_silently: Option<bool>,
}
/// New role positions
pub struct DataEditRoleRanks {
pub ranks: Vec<String>,
}
);