osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Losing words


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.