This commit is contained in:
gallant 2022-08-06 00:30:56 +00:00
parent b8c90fa91a
commit 6f100adf80
2 changed files with 15 additions and 1 deletions

View File

@ -11,7 +11,7 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal"] }
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = "0.3"
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls"] }
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls","json"] }
serde_json = "1.0"
fancy-regex = "0.10"
rspotify = { version = "0.11", default-features = false, features = ["client-reqwest", "reqwest-rustls-tls"] }

14
src/commands/pkg.rs Normal file
View File

@ -0,0 +1,14 @@
use crate::bot::{Command, Context};
use async_trait::async_trait;
#[derive(Default)]
pub struct Pkg {
pkg_name: String,
}
#[async_trait]
impl Command for Pkg {
async fn execute(&mut self, msg: Context<'_>) -> anyhow::Result<String> {
}
}