diff --git a/sample_uberbot.toml b/sample_uberbot.toml index e1da9ed..94ca03f 100644 --- a/sample_uberbot.toml +++ b/sample_uberbot.toml @@ -4,7 +4,7 @@ log_level = "debug" # optional, default: info host = "karx.xyz" port = 6697 tls = true -username = "uberbot" +username = "uberbot_knightly" nickname = "amazingbot" # optional, default: same as username channels = ["#main", "#no-normies"] mode = "+B" # optional, default: none diff --git a/src/commands/pkg.rs b/src/commands/pkg.rs index 6b314c6..df21b7c 100644 --- a/src/commands/pkg.rs +++ b/src/commands/pkg.rs @@ -20,7 +20,8 @@ impl Pkg { impl Command for Pkg { async fn execute(&mut self, msg: Context<'_>) -> anyhow::Result { let start = Pkg::new(); - let body = self.client + println!("{:?}",msg.content); + let body = start.client .get(format!( "https://archlinux.org/packages/search/json/?name={:?}", msg.content