mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 06:47:56 +00:00
refactor: separate commands into command_parser, command_definitions crates
This commit is contained in:
parent
4f390e2a14
commit
0c012e98b5
33 changed files with 464 additions and 378 deletions
9
crates/command_definitions/src/fun.rs
Normal file
9
crates/command_definitions/src/fun.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
use super::*;
|
||||
|
||||
pub fn cmds() -> impl Iterator<Item = Command> {
|
||||
[
|
||||
command!(["thunder"], "fun_thunder"),
|
||||
command!(["meow"], "fun_meow"),
|
||||
]
|
||||
.into_iter()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue