Bump version number
parent
9c7d29b546
commit
05e7073a82
|
@ -3758,7 +3758,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "spoticord_audio"
|
name = "spoticord_audio"
|
||||||
version = "2.2.0"
|
version = "2.2.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"librespot",
|
"librespot",
|
||||||
"songbird",
|
"songbird",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "spoticord_audio"
|
name = "spoticord_audio"
|
||||||
version = "2.2.0"
|
version = "2.2.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# 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) => {
|
SessionCommand::CreatePlaybackEmbed(handle, interaction, behavior) => {
|
||||||
match PlaybackEmbed::create(self, handle, interaction, behavior).await {
|
match PlaybackEmbed::create(self, handle, interaction, behavior).await {
|
||||||
Ok(Some(playback_embed)) => {
|
Ok(opt_handle) => {
|
||||||
self.playback_embed = Some(playback_embed);
|
self.playback_embed = opt_handle;
|
||||||
}
|
}
|
||||||
Ok(None) => {}
|
|
||||||
Err(why) => {
|
Err(why) => {
|
||||||
error!("Failed to create playing embed: {why}");
|
error!("Failed to create playing embed: {why}");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue