so i added a # in
s.send(“JOIN #{}\r\n”.format(cfg.CHAN).encode(“utf-8”))
and removed a # in
sock.send(“PRIVMSG {} :{}\r\n”.format(cfg.CHAN, msg))
and now it can send but not recieve
so i added a # in
s.send(“JOIN #{}\r\n”.format(cfg.CHAN).encode(“utf-8”))
and removed a # in
sock.send(“PRIVMSG {} :{}\r\n”.format(cfg.CHAN, msg))
and now it can send but not recieve