From 2b4e21736c068fdc72de7bb8c9c6a2afd99d9052 Mon Sep 17 00:00:00 2001 From: moonleay Date: Thu, 4 Apr 2024 10:07:11 +0200 Subject: [PATCH] fix: removed warnings --- src/commands/now_playing.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands/now_playing.rs b/src/commands/now_playing.rs index e3b5a5e..c90a3f0 100644 --- a/src/commands/now_playing.rs +++ b/src/commands/now_playing.rs @@ -1,6 +1,5 @@ use crate::music::music_queue; use crate::util::embed::Embed; -use futures::{FutureExt, TryFutureExt}; use serenity::all::{CommandInteraction, Context}; use serenity::builder::{CreateCommand, CreateEmbed}; @@ -45,7 +44,7 @@ pub async fn run(ctx: &Context, command: &CommandInteraction) -> CreateEmbed { .expect("Cannot get Songbird") .clone(); - let handler = match manager.get(*guild_id) { + let _ = match manager.get(*guild_id) { Some(handler) => handler, None => { return Embed::create_error_respose(