From 0f1a97770a623dd5e0e43ec632e4a2bbdd871f5f Mon Sep 17 00:00:00 2001 From: Benjamin Sherriff Date: Thu, 5 Sep 2024 13:37:03 -0400 Subject: [PATCH] Updated sqlx to 0.8.2 --- Cargo.toml | 2 +- src/bot/commands/audio/volume.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6350ce5..069b687 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ serde_json = "1.0.127" serenity = { version = "0.12.2", default-features = false, features = ["client", "gateway", "rustls_backend", "model", "voice", "cache", "framework", "standard_framework"] } songbird = { version = "0.4.3", features = ["builtin-queue"] } symphonia = { version = "0.5.4", features = ["all"] } -sqlx = { version = "0.7.4", features = ["runtime-tokio", "postgres", "chrono", "uuid"] } +sqlx = { version = "0.8.2", features = ["runtime-tokio", "postgres", "chrono", "uuid"] } chrono = { version = "0.4.38", features = ["serde"] } reqwest = { version = "0.11", default-features = false, features = ["json"] } lazy_static = "1.5.0" diff --git a/src/bot/commands/audio/volume.rs b/src/bot/commands/audio/volume.rs index 5a01f96..418c799 100644 --- a/src/bot/commands/audio/volume.rs +++ b/src/bot/commands/audio/volume.rs @@ -12,7 +12,7 @@ pub async fn run(ctx: &Context, command: &CommandInteraction) { let volume = match command.data.options.first() { Some(o) => o.value.as_i64().unwrap() as i32, None => { - log::warn!("Unable to get volume option as a string"); + log::warn!("{} attempted to change the volume without a volume option", command.user.id.get()); create_response(&ctx, &command, format!("Volume option is missing")).await; return; }