Bump version number
parent
9c7d29b546
commit
05e7073a82
|
@ -3758,7 +3758,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "spoticord_audio"
|
||||
version = "2.2.0"
|
||||
version = "2.2.1"
|
||||
dependencies = [
|
||||
"librespot",
|
||||
"songbird",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue