Deps: Update twilight to 0.13 (#147)
* update twilight to 0.13 * Update src/manager.rs Co-authored-by: Kyle Simpson <kyleandrew.simpson@gmail.com> Co-authored-by: Kyle Simpson <kyleandrew.simpson@gmail.com>
This commit is contained in:
@@ -359,7 +359,8 @@ impl Songbird {
|
||||
pub async fn process(&self, event: &TwilightEvent) {
|
||||
match event {
|
||||
TwilightEvent::VoiceServerUpdate(v) => {
|
||||
let call = v.guild_id.map(GuildId::from).and_then(|id| self.get(id));
|
||||
let id = GuildId::from(v.guild_id);
|
||||
let call = self.get(id);
|
||||
|
||||
if let Some(call) = call {
|
||||
let mut handler = call.lock().await;
|
||||
|
||||
Reference in New Issue
Block a user