Custom Exec Bodies for BotCommand and Listeners #9

Merged
modulatingforce merged 14 commits from dev into main 2024-01-29 05:46:43 -05:00
Showing only changes of commit 079fa3e1b0 - Show all commits

View file

@ -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