File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ impl EventHandler for ReadyHandler {
5353
5454 let guild_id = GuildId :: new ( self . config . bot . get_staff_guild_id ( ) ) ;
5555
56- let _ = guild_id
56+ if let Err ( e ) = guild_id
5757 . set_commands (
5858 & ctx. http ,
5959 vec ! [
@@ -72,6 +72,9 @@ impl EventHandler for ReadyHandler {
7272 help:: register( & self . config) . await ,
7373 ] ,
7474 )
75- . await ;
75+ . await
76+ {
77+ eprintln ! ( "set_commands() failed: {:?}" , e) ;
78+ }
7679 }
7780}
Original file line number Diff line number Diff line change @@ -724,7 +724,7 @@ pub fn load_french_messages(dict: &mut ErrorDictionary) {
724724 ) ;
725725 dict. messages . insert (
726726 "slash_command.recover_command_description" . to_string ( ) ,
727- DictionaryMessage :: new ( "Récupérer les messages manqués pendant la période d'indisponibilité du bot (Ce processus est automatique)" ) ,
727+ DictionaryMessage :: new ( "Récupérer les messages manqués pendant la période d'indisponibilité du bot (automatique)" ) ,
728728 ) ;
729729 dict. messages . insert (
730730 "slash_command.help_command_description" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments