aboutsummaryrefslogtreecommitdiff
path: root/src/audio/play_queue.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/play_queue.rs')
-rw-r--r--src/audio/play_queue.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/play_queue.rs b/src/audio/play_queue.rs
index ff1c2c9..34fc113 100644
--- a/src/audio/play_queue.rs
+++ b/src/audio/play_queue.rs
@@ -54,6 +54,10 @@ impl Key for PlayQueue {
type Value = Arc<RwLock<PlayQueue>>;
}
+impl serenity::prelude::TypeMapKey for PlayQueue {
+ type Value = Arc<RwLock<PlayQueue>>;
+}
+
impl PlayQueue {
pub fn new() -> Self {
PlayQueue {