aboutsummaryrefslogtreecommitdiff
path: root/src/commands/playback/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/playback/types.rs')
-rw-r--r--src/commands/playback/types.rs23
1 files changed, 18 insertions, 5 deletions
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;