rust-discord-rpc/src/models/client/commands.rs
2023-12-29 03:00:07 +01:00

11 lines
195 B
Rust

pub enum Commands {
SetActivity,
}
impl Commands {
pub fn as_string(&self) -> String {
match self {
Commands::SetActivity => "SET_ACTIVITY".into(),
}
}
}