File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -500,7 +500,6 @@ pub mod register {
500500 use serenity:: builder;
501501 use serenity:: model:: application:: CommandOptionType ;
502502 use std:: sync:: Arc ;
503-
504503 pub fn register ( ) -> builder:: CreateCommand {
505504 builder:: CreateCommand :: new ( "register" )
506505 . description ( "Adds a new user to the database." )
@@ -700,6 +699,7 @@ pub mod rank {
700699 use serenity:: model:: application:: CommandOptionType ;
701700 use std:: collections:: HashSet ;
702701 use std:: sync:: Arc ;
702+ use tracing:: error;
703703
704704 pub fn register ( ) -> builder:: CreateCommand {
705705 CreateCommand :: new ( "rank" )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ macro_rules! riot_api {
1313 match result {
1414 Result :: Err ( mut e) => {
1515 let status_code = { e. status_code( ) . clone( ) } ;
16- println !( "Error: {:?}" , e) ;
16+ error !( "Error: {:?}" , e) ;
1717 return match status_code {
1818 None => Result :: Err ( anyhow!(
1919 "{}" ,
You can’t perform that action at this time.
0 commit comments