aboutsummaryrefslogtreecommitdiff
path: root/src/commands/playback
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/playback')
-rw-r--r--src/commands/playback/mod.rs7
-rw-r--r--src/commands/playback/types.rs7
2 files changed, 10 insertions, 4 deletions
diff --git a/src/commands/playback/mod.rs b/src/commands/playback/mod.rs
index bbcbd74..efb2553 100644
--- a/src/commands/playback/mod.rs
+++ b/src/commands/playback/mod.rs
@@ -1,9 +1,12 @@
use either::{Left, Right};
-use serenity::voice::{LockedAudio, ytdl};
+use serenity::{
+ voice::{LockedAudio, ytdl},
+ model::id::ChannelId,
+ framework::standard::Args,
+};
use super::*;
pub use self::types::*;
-use serenity::framework::standard::Args;
mod types;
diff --git a/src/commands/playback/types.rs b/src/commands/playback/types.rs
index 2035bd9..9c1a878 100644
--- a/src/commands/playback/types.rs
+++ b/src/commands/playback/types.rs
@@ -1,7 +1,10 @@
+use std::{
+ sync::{Arc, RwLock},
+ collections::VecDeque,
+};
+
use serenity::client::bridge::voice::ClientVoiceManager;
use typemap::Key;
-use std::sync::{Arc, RwLock};
-use std::collections::VecDeque;
use either::{Either, Left, Right};