5 Commits

Author SHA1 Message Date
66052e4f74 chore: version bump to 0.10.6
Some checks failed
Rust / build (push) Has been cancelled
Release Plz / Release-plz (push) Has been cancelled
2024-08-16 14:33:37 +02:00
09b0d6fd9d fix: yt-dlp errors for playlist parsing 2024-08-16 14:33:22 +02:00
c27d1f70da chore: version bump to 0.10.5
Some checks are pending
Rust / build (push) Waiting to run
Release Plz / Release-plz (push) Waiting to run
2024-08-15 20:13:42 +02:00
73b885e5d6 fix: version requirements for crates.io 2024-08-15 20:11:35 +02:00
8c0eb62d41 fix: yt-dlp errors 2024-08-15 20:05:52 +02:00
3 changed files with 7 additions and 7 deletions

7
Cargo.lock generated
View File

@@ -1311,7 +1311,7 @@ dependencies = [
[[package]] [[package]]
name = "lyra" name = "lyra"
version = "0.10.4" version = "0.10.6"
dependencies = [ dependencies = [
"dotenv", "dotenv",
"json", "json",
@@ -2788,9 +2788,8 @@ dependencies = [
[[package]] [[package]]
name = "songbird" name = "songbird"
version = "0.4.3" version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/eRgo35/songbird#64a9b6ba5e591a1324390aa896b661633f4baa24"
checksum = "338dd182f9f084f583c4c0db38588e28a34778ecec288208cf0b61c378ac90d1"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"audiopus", "audiopus",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "lyra" name = "lyra"
version = "0.10.4" version = "0.10.6"
authors = ["Michał Czyż <mike@c2yz.com>"] authors = ["Michał Czyż <mike@c2yz.com>"]
edition = "2021" edition = "2021"
description = "A featureful Discord bot written in Rust." description = "A featureful Discord bot written in Rust."
@@ -23,9 +23,9 @@ regex = "1.10.6"
reqwest = { version = "0.11.27", features = ["json"] } reqwest = { version = "0.11.27", features = ["json"] }
serde = { version = "1.0.204", features = ["derive"] } serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.122" serde_json = "1.0.122"
songbird = { version = "0.4.3", default-features = true, features = [ songbird = { version = "~0.4.3", default-features = true, features = [
"builtin-queue", "builtin-queue",
] } ], git = "https://github.com/eRgo35/songbird" }
serenity = { default-features = true, features = [ serenity = { default-features = true, features = [
"cache", "cache",
"framework", "framework",

View File

@@ -132,6 +132,7 @@ async fn parse_data(data: String) -> VecDeque<String> {
.unwrap(); .unwrap();
let list = Command::new("yt-dlp") let list = Command::new("yt-dlp")
.args(["--username", "oauth2", "--password", "''"])
.args(["-j", "--flat-playlist", track]) .args(["-j", "--flat-playlist", track])
.output() .output()
.expect("Failed to execute process") .expect("Failed to execute process")