@@ -4,16 +4,16 @@ use crate::commands::alert::common::{
44} ;
55use crate :: commands:: { BoxFuture , RegistrableCommand } ;
66use crate :: config:: Config ;
7- use crate :: errors:: { common , CommandError , ModmailError , ModmailResult } ;
7+ use crate :: errors:: { CommandError , ModmailError , ModmailResult , common } ;
88use crate :: handlers:: guild_interaction_handler:: InteractionHandler ;
99use crate :: i18n:: get_translated_message;
1010use crate :: utils:: command:: defer_response:: defer_response;
11+ use serenity:: FutureExt ;
1112use serenity:: all:: {
1213 CommandDataOptionValue , CommandInteraction , CommandOptionType , Context , CreateCommand ,
1314 CreateCommandOption , ResolvedOption ,
1415} ;
1516use std:: sync:: Arc ;
16- use serenity:: FutureExt ;
1717
1818pub struct AlertCommand ;
1919
@@ -24,9 +24,8 @@ impl RegistrableCommand for AlertCommand {
2424 }
2525
2626 fn doc < ' a > ( & self , config : & ' a Config ) -> BoxFuture < ' a , String > {
27- async move {
28- get_translated_message ( config, "help.alert" , None , None , None , None ) . await
29- } . boxed ( )
27+ async move { get_translated_message ( config, "help.alert" , None , None , None , None ) . await }
28+ . boxed ( )
3029 }
3130
3231 fn register ( & self , config : & Config ) -> BoxFuture < ' _ , Vec < CreateCommand > > {
0 commit comments