update twilight, songbird and reqwest
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use songbird::{input::YoutubeDl, typemap::TypeMapKey};
|
||||
use songbird::input::YoutubeDl;
|
||||
use std::time::Duration;
|
||||
|
||||
#[derive(Clone)]
|
||||
@@ -6,10 +6,5 @@ pub(crate) struct Metadata {
|
||||
pub(crate) title: Option<String>,
|
||||
pub(crate) duration: Option<Duration>,
|
||||
pub(crate) url: String,
|
||||
pub(crate) src: YoutubeDl,
|
||||
}
|
||||
|
||||
pub(crate) struct MetadataMap;
|
||||
impl TypeMapKey for MetadataMap {
|
||||
type Value = Metadata;
|
||||
pub(crate) src: YoutubeDl<'static>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user