From bdaf252df571436dc55d8e03b293111723f17565 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 12 Feb 2026 23:16:27 +0100 Subject: [PATCH] feat(commands/utils): adding the database field to the Ping run --- src/commands/utils/ping.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/utils/ping.rs b/src/commands/utils/ping.rs index 8060874..f789e1f 100644 --- a/src/commands/utils/ping.rs +++ b/src/commands/utils/ping.rs @@ -9,6 +9,7 @@ use serenity::all::{ CommandInteraction, Context, CreateCommand, CreateInteractionResponse, CreateInteractionResponseMessage, EditInteractionResponse, }; +use sqlx::PgPool; pub struct Ping; @@ -28,7 +29,7 @@ impl SlashCommand for Ping { .description(self.description()) } - async fn run(&self, ctx: &Context, command: &CommandInteraction) -> Result<(), serenity::Error> { + async fn run(&self, ctx: &Context, command: &CommandInteraction, _database: &PgPool) -> Result<(), serenity::Error> { let message: CreateInteractionResponseMessage = CreateInteractionResponseMessage::new() .content("🏓 | Pong!") .ephemeral(true);