use std::time::{
Instant,
Duration
};
use crate::RichText;
pub struct CommandLabel {
pub text: RichText,
pub vis_timer: Instant,
}
impl CommandLabel {
pub fn new() -> Self {
Self {
text: RichText::default(),
vis_timer: Instant::now() + Duration::from_secs(3)
}
}
}