Send dbg message privately

This commit is contained in:
Yash Karandikar 2022-07-19 18:40:57 -05:00
parent 195b2b5d1b
commit ba0772cb50
Signed by: karx
GPG key ID: A794DA2529474BA5

View file

@ -85,7 +85,7 @@ async fn main() -> anyhow::Result<()> {
Command::PRIVMSG(ref channel, ref message) => {
if message.starts_with("!dbg") {
client.send_privmsg(
channel,
nick,
format!("{:#?}", channel_users).replace("\n", "\r\n"),
)?;
}