From 6ad374d089d917cba53a76a40f9fb9bc5793ceb2 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Thu, 24 Jan 2019 21:48:39 -0500 Subject: fix last of import inconsistencies --- src/commands/playback/types.rs | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'src/commands/playback/types.rs') diff --git a/src/commands/playback/types.rs b/src/commands/playback/types.rs index 9c1a878..63479fd 100644 --- a/src/commands/playback/types.rs +++ b/src/commands/playback/types.rs @@ -1,14 +1,27 @@ use std::{ - sync::{Arc, RwLock}, collections::VecDeque, + sync::{Arc, RwLock}, + thread, + time::Duration, }; -use serenity::client::bridge::voice::ClientVoiceManager; -use typemap::Key; - use either::{Either, Left, Right}; +use serenity::{ + client::bridge::voice::ClientVoiceManager, + model::id::ChannelId, + prelude::*, + voice::{LockedAudio, ytdl}, +}; +use typemap::Key; -use super::*; +use crate::{ + commands::{ + send, + sound::DEFAULT_VOLUME + }, + must_env_lookup, + TARGET_GUILD_ID, +}; pub struct VoiceManager; -- cgit v1.3.1