Losing words

John Doe john at johniedoe.com
Mon Apr 1 16:08:04 EDT 2019


On 2019-04-01, Rhodri James <rhodri at kynesim.co.uk> wrote:
>
> I'm not an expert, but looking at RFC-1459 it looks like your final 
> parameter (the message) needs to be preceded by a colon.  In other words 
> you want:
>
> s.send(bytes("PRIVMSG " + channel + " :" + mess + "\n", "UTF-8"))
>
> (Try printing out the line you want to send before sending it, and 
> compare it with the example commands in the RFC.)
>
Thanks Rhodri, indeed it missed the colon.



More information about the Python-list mailing list