Compare commits

..

2 Commits

Author SHA1 Message Date
Joey Hines a37febd7cd
Merge branch 'msg_refactor' of git.jojodev.com:joeyahines/wOxlf into msg_refactor 2023-01-05 22:06:04 -07:00
Joey Hines a5e1a275e8
Message router refactor
+ Created the WoxlfMessage struct to streamline interface
+ Message tasks are now joined at once instead of sequentially
+ Clippy + fmt
2023-01-05 22:05:13 -07:00
1 changed files with 1 additions and 3 deletions

View File

@ -10,9 +10,7 @@ use tera::{Tera, Value};
type TeraFnRet = Box<dyn Fn(&HashMap<String, Value>) -> tera::Result<Value> + Send + Sync>; type TeraFnRet = Box<dyn Fn(&HashMap<String, Value>) -> tera::Result<Value> + Send + Sync>;
fn time_to_discord_time( fn time_to_discord_time(time_flag: &str) -> TeraFnRet {
time_flag: &str,
) -> TeraFnRet {
let time_flag = time_flag.to_string(); let time_flag = time_flag.to_string();
Box::new( Box::new(