potential fix to level 1
This commit is contained in:
@@ -87,6 +87,12 @@ impl<'de> Deserialize<'de> for FluxU64 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl std::fmt::Display for FluxU64 {
|
||||||
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
|
write!(f, "{}", self.0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Deserialize, serde::Serialize, Debug)]
|
#[derive(Deserialize, serde::Serialize, Debug)]
|
||||||
pub struct UserLevel {
|
pub struct UserLevel {
|
||||||
pub xp: u64,
|
pub xp: u64,
|
||||||
@@ -878,7 +884,7 @@ pub async fn on_guild_member_update(
|
|||||||
"Bridging user {} from role {} to {}",
|
"Bridging user {} from role {} to {}",
|
||||||
new.user.id,
|
new.user.id,
|
||||||
in_role_id,
|
in_role_id,
|
||||||
out_role_id
|
out_role_id.0
|
||||||
);
|
);
|
||||||
|
|
||||||
// Add out_role
|
// Add out_role
|
||||||
|
|||||||
Reference in New Issue
Block a user