use uuid::Uuid;
#[derive(Debug)]
pub struct BotAccount {
pub username: String,
pub uuid: Uuid,
}
impl BotAccount {
pub fn new(username: impl Into<String>) -> Self {
Self {
username: username.into(),
uuid: Uuid::nil(),
}
}
pub fn set_uuid(mut self, uuid: Uuid) -> Self {
self.uuid = uuid;
self
}
}