uberbot/src/commands/help.rs

22 lines
602 B
Rust
Raw Normal View History

2022-07-17 13:10:34 -05:00
use crate::bot::{Command, Context};
use async_trait::async_trait;
const HELP: &str = concat!(
2022-07-20 03:58:33 -05:00
"=- \x1d\x02Überbot\x0f ",
env!("CARGO_PKG_VERSION"),
" -=\r\n",
2022-07-17 14:00:27 -05:00
" * waifu <category> * grab [count] <user>\r\n",
" * owo/mock/leet [user] * quot <user>\r\n",
" * ev <math expression> * qsearch <query>\r\n",
" - This bot can also resolve HTML titles, Spotify links and a subset of sed expressions."
);
pub struct Help;
#[async_trait]
impl Command for Help {
async fn execute(&mut self, _msg: Context<'_>) -> anyhow::Result<String> {
Ok(HELP.into())
}
}