master
gallant 4 months ago
parent b8c90fa91a
commit 6f100adf80
  1. 2
      Cargo.toml
  2. 14
      src/commands/pkg.rs

@ -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"] }

@ -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> {
}
}
Loading…
Cancel
Save