Custom Exec Bodies for BotCommand and Listeners #9
1 changed files with 0 additions and 9 deletions
|
@ -24,15 +24,6 @@ pub fn init(mgr:&mut ModulesManager)
|
|||
{
|
||||
|
||||
|
||||
// BotCommand {
|
||||
// module : BotModule(String::from("experiments 004")),
|
||||
// command : String::from("DUPCMD4"), // command call name
|
||||
// alias : vec![String::from("DUPALIAS4A"),String::from("DUPALIAS4B")], // String of alternative names
|
||||
// // bot_prefix : char, // although should be global?
|
||||
// // exec_body : fn,
|
||||
// help : String::from("DUPCMD4 tester"),
|
||||
// }.add_to_modmgr(mgr);
|
||||
|
||||
BotCommand {
|
||||
module : BotModule(String::from("experiments 004")),
|
||||
command : String::from("test"), // command call name
|
||||
|
|
Loading…
Reference in a new issue