save media source in metadata typemap
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
use dashmap::DashMap;
|
||||
use songbird::{input::YoutubeDl, Songbird};
|
||||
use songbird::Songbird;
|
||||
use std::sync::Arc;
|
||||
use twilight_cache_inmemory::InMemoryCache;
|
||||
use twilight_http::Client as HttpClient;
|
||||
use twilight_model::id::{marker::GuildMarker, Id};
|
||||
use twilight_standby::Standby;
|
||||
use uuid::Uuid;
|
||||
|
||||
pub(crate) type State = Arc<StateRef>;
|
||||
|
||||
@@ -21,5 +20,4 @@ pub(crate) struct StateRef {
|
||||
pub(crate) songbird: Songbird,
|
||||
pub(crate) standby: Standby,
|
||||
pub(crate) guild_settings: DashMap<Id<GuildMarker>, Settings>,
|
||||
pub(crate) tracks: DashMap<Id<GuildMarker>, DashMap<Uuid, YoutubeDl>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user