1+ use crate :: commands:: CommandRegistry ;
12use crate :: commands:: add_reminder:: slash_command:: add_reminder:: AddReminderCommand ;
23use crate :: commands:: add_staff:: slash_command:: add_staff:: AddStaffCommand ;
34use crate :: commands:: alert:: slash_command:: alert:: AlertCommand ;
@@ -11,14 +12,14 @@ use crate::commands::logs::slash_command::logs::LogsCommand;
1112use crate :: commands:: move_thread:: slash_command:: move_thread:: MoveCommand ;
1213use crate :: commands:: new_thread:: slash_command:: new_thread:: NewThreadCommand ;
1314use crate :: commands:: recover:: slash_command:: recover:: RecoverCommand ;
15+ use crate :: commands:: release:: slash_command:: release:: ReleaseCommand ;
1416use crate :: commands:: remove_reminder:: slash_command:: remove_reminder:: RemoveReminderCommand ;
1517use crate :: commands:: remove_staff:: slash_command:: remove_staff:: RemoveStaffCommand ;
1618use crate :: commands:: reply:: slash_command:: reply:: ReplyCommand ;
1719use crate :: commands:: take:: slash_command:: take:: TakeCommand ;
18- use crate :: commands:: CommandRegistry ;
1920use crate :: config:: load_config;
20- use crate :: errors:: types:: ConfigError ;
2121use crate :: errors:: ModmailError ;
22+ use crate :: errors:: types:: ConfigError ;
2223use crate :: handlers:: guild_handler:: GuildHandler ;
2324use crate :: handlers:: guild_interaction_handler:: InteractionHandler ;
2425use crate :: handlers:: guild_members_handler:: GuildMembersHandler ;
@@ -29,7 +30,7 @@ use crate::handlers::ready_handler::ReadyHandler;
2930use crate :: handlers:: typing_proxy_handler:: TypingProxyHandler ;
3031use crate :: panel_commands:: user:: is_member:: is_member;
3132use crate :: types:: logs:: PaginationContext ;
32- use crate :: { db , BotCommand , BotState , BotStatus } ;
33+ use crate :: { BotCommand , BotState , BotStatus , db } ;
3334use base64:: Engine ;
3435use rand:: RngCore ;
3536use serenity:: all:: { ClientBuilder , GatewayIntents } ;
@@ -162,6 +163,7 @@ pub async fn run_bot(
162163 registry. register_command ( RemoveReminderCommand ) ;
163164 registry. register_command ( LogsCommand ) ;
164165 registry. register_command ( TakeCommand ) ;
166+ registry. register_command ( ReleaseCommand ) ;
165167
166168 let registry = Arc :: new ( registry) ;
167169
0 commit comments