track current state

This commit is contained in:
Zomatree
2024-04-11 01:07:03 +01:00
parent ae87bc0b67
commit 7a4421089c
7 changed files with 199 additions and 46 deletions

View File

@@ -270,13 +270,18 @@ auto_derived!(
/// Username and discriminator combo separated by #
pub username: String,
}
);
auto_derived_partial!(
/// Voice State information for a user
pub struct UserVoiceState {
pub id: String
// TODO - muted, etc
}
pub id: String,
pub audio: bool,
pub deafened: bool,
pub screensharing: bool,
pub camera: bool
},
"PartialUserVoiceState"
);
pub trait CheckRelationship {