Updated sqlx to 0.8.2

This commit is contained in:
2024-09-05 13:37:03 -04:00
parent 3994c18c49
commit 0f1a97770a
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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;
}