feat(commands): add cs codegen to statically use params and flags in bot code, remove Any

This commit is contained in:
dusk 2025-01-21 12:36:54 +09:00
parent 0c012e98b5
commit 07e8a4851a
No known key found for this signature in database
20 changed files with 297 additions and 417 deletions

View file

@ -2,8 +2,8 @@ use super::*;
pub fn cmds() -> impl Iterator<Item = Command> {
[
command!(["thunder"], "fun_thunder"),
command!(["meow"], "fun_meow"),
command!(["thunder"] => "fun_thunder"),
command!(["meow"] => "fun_meow"),
]
.into_iter()
}