Updated sqlx to 0.8.2
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user