dev #25
@ -53,15 +53,6 @@ pub struct Config {
|
|||||||
pub bot_name: String,
|
pub bot_name: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(BotCommands, Clone)]
|
|
||||||
#[command(rename_rule = "lowercase")]
|
|
||||||
enum UserCommands {
|
|
||||||
/// The first message of user
|
|
||||||
Start(String),
|
|
||||||
/// Shows this message.
|
|
||||||
Help,
|
|
||||||
}
|
|
||||||
|
|
||||||
trait LogMsg {
|
trait LogMsg {
|
||||||
fn log(self) -> Self;
|
fn log(self) -> Self;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user