large refactor: reorganize code
This commit is contained in:
19
src/commands/mod.rs
Normal file
19
src/commands/mod.rs
Normal file
@@ -0,0 +1,19 @@
|
||||
use crate::{Data, Error};
|
||||
use poise::Command;
|
||||
|
||||
mod ping;
|
||||
mod dox;
|
||||
mod yeehaw;
|
||||
mod gambling;
|
||||
|
||||
pub fn commands() -> Vec<Command<Data, Error>> {
|
||||
vec![
|
||||
ping::ping(),
|
||||
dox::dox(),
|
||||
yeehaw::yeehaw(),
|
||||
gambling::balance::balance(),
|
||||
gambling::give::give(),
|
||||
gambling::wager::wager(),
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user