setup
This commit is contained in:
parent
b8c90fa91a
commit
6f100adf80
|
@ -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
14
src/commands/pkg.rs
Normal 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> {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue