doxing-emulator 0.2.5

Doxing emulator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The help command.

use super::Command;
use frakti::{client_cyper::Bot, types::Message};

/// The help command.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Help;

impl Command for Help {
    const TRIGGER: &'static str = "help";
    const HELP: &'static str = "查看帮助信息";
    async fn execute(self, _bot: &Bot, _msg: Message, username: &str) -> String {
        format!(include_str!("../messages/help.html"), username = username)
    }
}