style(commands/utils): adding tracing.info to ping registration
Co-authored-by: Maix0 <maieul@familleboyer.net>
This commit is contained in:
parent
79f901939f
commit
ea8da998b1
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ use serenity::all::{
|
||||||
CreateInteractionResponseMessage, EditInteractionResponse,
|
CreateInteractionResponseMessage, EditInteractionResponse,
|
||||||
};
|
};
|
||||||
use sqlx::PgPool;
|
use sqlx::PgPool;
|
||||||
|
use tracing::info;
|
||||||
|
|
||||||
pub struct Ping {
|
pub struct Ping {
|
||||||
pub command_id: AtomicU64,
|
pub command_id: AtomicU64,
|
||||||
|
|
@ -49,7 +50,7 @@ impl SlashCommand for Ping {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn register(&self) -> CreateCommand {
|
fn register(&self) -> CreateCommand {
|
||||||
println!("\t✅ | {}", self.name());
|
info!("\t✅ | {}", self.name());
|
||||||
CreateCommand::new(self.name()).description(self.description())
|
CreateCommand::new(self.name()).description(self.description())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue