initial rewrite in rust & moderation commands
Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
b17e357b75
commit
45403e9d9b
53 changed files with 3297 additions and 2820 deletions
20
src/commands/mod.rs
Normal file
20
src/commands/mod.rs
Normal file
|
@ -0,0 +1,20 @@
|
|||
use crate::Data;
|
||||
|
||||
use color_eyre::eyre::Report;
|
||||
use poise::Command;
|
||||
|
||||
mod general;
|
||||
mod moderation;
|
||||
|
||||
pub fn to_global_commands() -> Vec<Command<Data, Report>> {
|
||||
vec![
|
||||
general::joke(),
|
||||
general::members(),
|
||||
general::modrinth(),
|
||||
general::rory(),
|
||||
general::say(),
|
||||
general::stars(),
|
||||
moderation::ban_user(),
|
||||
moderation::kick_user(),
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue