fix: removed warnings
This commit is contained in:
parent
b5888ec441
commit
2b4e21736c
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
use crate::music::music_queue;
|
use crate::music::music_queue;
|
||||||
use crate::util::embed::Embed;
|
use crate::util::embed::Embed;
|
||||||
use futures::{FutureExt, TryFutureExt};
|
|
||||||
use serenity::all::{CommandInteraction, Context};
|
use serenity::all::{CommandInteraction, Context};
|
||||||
use serenity::builder::{CreateCommand, CreateEmbed};
|
use serenity::builder::{CreateCommand, CreateEmbed};
|
||||||
|
|
||||||
|
@ -45,7 +44,7 @@ pub async fn run(ctx: &Context, command: &CommandInteraction) -> CreateEmbed {
|
||||||
.expect("Cannot get Songbird")
|
.expect("Cannot get Songbird")
|
||||||
.clone();
|
.clone();
|
||||||
|
|
||||||
let handler = match manager.get(*guild_id) {
|
let _ = match manager.get(*guild_id) {
|
||||||
Some(handler) => handler,
|
Some(handler) => handler,
|
||||||
None => {
|
None => {
|
||||||
return Embed::create_error_respose(
|
return Embed::create_error_respose(
|
||||||
|
|
Loading…
Reference in a new issue