diff --git a/scripty_commands/src/cmds/admin/mod.rs b/scripty_commands/src/cmds/admin/mod.rs index c3783e1..3480a11 100644 --- a/scripty_commands/src/cmds/admin/mod.rs +++ b/scripty_commands/src/cmds/admin/mod.rs @@ -8,6 +8,7 @@ mod shutdown; pub use cache_info::cache_info; pub use guild_check::*; pub use hash_user_id::hash_user_id; +pub use shutdown::shutdown; #[poise::command(prefix_command, hide_in_help, owners_only)] pub async fn admin(ctx: Context<'_>) -> Result<(), Error> { diff --git a/scripty_commands/src/lib.rs b/scripty_commands/src/lib.rs index 5622939..247cc20 100644 --- a/scripty_commands/src/lib.rs +++ b/scripty_commands/src/lib.rs @@ -4,7 +4,7 @@ extern crate scripty_i18n; #[macro_use] extern crate tracing; -pub mod cmds; +mod cmds; mod i18n; pub fn build_commands() -> Vec> { @@ -30,6 +30,7 @@ pub fn build_commands() -> Vec> { cmds::check_guilds(), cmds::hash_user_id(), cmds::cache_info(), + cmds::shutdown(), ], ..cmds::admin() },