IRC Bot cannot recieve chat messages

Hi all,
I’m working on implementing a chat moderation bot and have run into a bit of a snag. I can send messages just fine, however I cannot seem to receive any of the actual chat messages from the users on the channel. The other strange thing is my ping pong routine is working. Any suggestions? I’m using python 3.7

receiving loop
while True:
ircmsg = i.irc.recv(1024).decode(“utf8”)
ircmsg = ircmsg.strip(’\r\n’)
if ircmsg.find(“PING :”) != -1:

Terminal output
connection successful 001 synpaiowo :Welcome, GLHF! 002 synpaiowo :Your host is 003 synpaiowo :This server is rather new 004 synpaiowo :- 375 synpaiowo :- 372 synpaiowo :You are in a maze of twisty passages, all alike. 376 synpaiowo :>
:synpaiowo! JOIN synir 353 synpaiowo = synir :synpaiowo 366 synpaiowo synir :End of /NAMES list
Found chan

should be

:synpaiowo! JOIN #synir

You joined the wrong channel

1 Like

That did it. Thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.