Change Role to have String over PermissionFlags

PermissionFlags implementation needs to be figured out a bit better before we can use it here.
This commit is contained in:
bitfl0wer 2023-06-09 12:04:49 +02:00
parent 730ca5b27a
commit 2c153259b3
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ pub struct RoleObject {
pub unicode_emoji: Option<String>, pub unicode_emoji: Option<String>,
pub position: u16, pub position: u16,
#[serde(default)] #[serde(default)]
pub permissions: PermissionFlags, pub permissions: String,
pub managed: bool, pub managed: bool,
pub mentionable: bool, pub mentionable: bool,
#[cfg(feature = "sqlx")] #[cfg(feature = "sqlx")]