Updated sqlx to 0.8.2
This commit is contained in:
@@ -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