Bump version number

main
DaXcess 2024-08-22 11:12:20 +02:00
parent 9c7d29b546
commit 05e7073a82
No known key found for this signature in database
GPG Key ID: CF78CC72F0FD5EAD
3 changed files with 4 additions and 5 deletions

2
Cargo.lock generated
View File

@ -3758,7 +3758,7 @@ dependencies = [
[[package]]
name = "spoticord_audio"
version = "2.2.0"
version = "2.2.1"
dependencies = [
"librespot",
"songbird",

View File

@ -1,6 +1,6 @@
[package]
name = "spoticord_audio"
version = "2.2.0"
version = "2.2.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -213,10 +213,9 @@ impl Session {
SessionCommand::CreatePlaybackEmbed(handle, interaction, behavior) => {
match PlaybackEmbed::create(self, handle, interaction, behavior).await {
Ok(Some(playback_embed)) => {
self.playback_embed = Some(playback_embed);
Ok(opt_handle) => {
self.playback_embed = opt_handle;
}
Ok(None) => {}
Err(why) => {
error!("Failed to create playing embed: {why}");
}