added songbird as a submodule

This commit is contained in:
2024-08-05 11:32:23 +02:00
parent f224ccfbdf
commit 8a0d08de4e
4 changed files with 12 additions and 6 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "libs/songbird"]
path = libs/songbird
url = git@github.com:eRgo35/songbird.git

2
Cargo.lock generated
View File

@@ -2829,8 +2829,6 @@ dependencies = [
[[package]] [[package]]
name = "songbird" name = "songbird"
version = "0.4.3" version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "338dd182f9f084f583c4c0db38588e28a34778ecec288208cf0b61c378ac90d1"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"audiopus", "audiopus",

View File

@@ -10,7 +10,6 @@ homepage = "https://lyra.c2yz.com"
license-file = "LICENSE.md" license-file = "LICENSE.md"
keywords = ["discord", "bot", "rust", "music", "featureful"] keywords = ["discord", "bot", "rust", "music", "featureful"]
[dependencies] [dependencies]
lib-spotify-parser = { path = "libs/spotify-parser" } lib-spotify-parser = { path = "libs/spotify-parser" }
dotenv = "0.15.0" dotenv = "0.15.0"
@@ -24,13 +23,18 @@ 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"
serenity = { version = "0.12.2", features = [ songbird = { path = "./libs/songbird", version = "0.4", default-features = true, features = [
"builtin-queue",
] }
serenity = { features = [
"cache", "cache",
"framework", "framework",
"standard_framework", "standard_framework",
"voice", "voice",
] } "http",
songbird = { version = "0.4.3", features = ["builtin-queue", "serenity"] } "rustls_backend",
], version = "0.12" }
symphonia = { version = "0.5.4", features = [ symphonia = { version = "0.5.4", features = [
"aac", "aac",
"adpcm", "adpcm",

1
libs/songbird Submodule

Submodule libs/songbird added at 52ccf8b328