uberbot/src/commands/help.rs

20 lines
558 B
Rust

use crate::bot::{Context, Command};
use async_trait::async_trait;
const HELP: &str = concat!(
"=- \x1d\x02Überbot\x0f ", env!("CARGO_PKG_VERSION"), " -=\r\n",
" * waifu <category>\r\n",
" * owo/mock/leet [user]\r\n",
" * ev <math expression>\r\n",
" - This bot also provides titles of URLs and details for Spotify URIs/links. It can also resolve sed expressions."
);
pub struct Help;
#[async_trait]
impl Command for Help {
async fn execute(&mut self, _msg: Context<'_>) -> anyhow::Result<String> {
Ok(HELP.into())
}
}