large refactor: reorganize code

This commit is contained in:
2024-10-11 20:33:12 -04:00
parent ecbf4cad06
commit 4e08e25575
10 changed files with 240 additions and 183 deletions

19
src/commands/mod.rs Normal file
View 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(),
]
}