aboutsummaryrefslogtreecommitdiff
path: root/src/audio/play_queue.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-05-08 10:28:04 -0400
committerNathan Perry <np@nathanperry.dev>2024-05-08 14:16:01 -0400
commitfe467f60d99efa54f2ef64606e7d39b9b06d7294 (patch)
treea62bb50fedb1959d1a155878f0ff0ab7b1f699b6 /src/audio/play_queue.rs
parent48aa684dece2696e21fd871eb6f3825f28fe0200 (diff)
update all deps
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 {