Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: IRC bot written in Python - join channel function
Post: RE: IRC bot written in Python - join channel funct...

The variable 'joinchan' is for the bot joining the main channel when the bot is connected to the IRC server. I've tried it anyway with your suggestion but no luck yet :( I've tried it also with the va...
syrius Networking 8 7,956 Sep-14-2017, 07:28 PM
    Thread: IRC bot written in Python - join channel function
Post: RE: IRC bot written in Python - join channel funct...

Hi metulburr, What you mean by "print out" ? I believe that there is an error in this line, the syntax must be wrong. Trying to figure out how to write this condition in order that when I type on IRC...
syrius Networking 8 7,956 Sep-14-2017, 02:20 PM
    Thread: IRC bot written in Python - join channel function
Post: RE: IRC bot written in Python - join channel funct...

I've modified: ircsock.send(bytes("JOIN %s")) For: ircsock.send(bytes("JOIN %s".format(chan))) but still not working when I'm typing on IRC: join #channel-name Thanks.
syrius Networking 8 7,956 Sep-13-2017, 02:43 PM
    Thread: IRC bot written in Python - join channel function
Post: RE: IRC bot written in Python - join channel funct...

Hi metulburr, thank you for your quick reply. I would like that this condition would result the bot to join the IRC #channel-name when I type on IRC 'join #channel-name'. Thanks
syrius Networking 8 7,956 Sep-12-2017, 08:33 PM
    Thread: IRC bot written in Python - join channel function
Post: IRC bot written in Python - join channel function

I'm trying to add to my python IRC bot a function that when I type "join #channel-name" on IRC, the bot will join the channel. Here's my code: import socket server = "irc.freenode.net" # IRC serve...
syrius Networking 8 7,956 Sep-12-2017, 08:12 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020