http://www.perlmonks.org?node_id=608183


in reply to Private messages with Bot::BasicBot

See the fine manual for details, but it looks like you'll want to set 'who' to the nickname, and set 'channel' to 'msg'. It further indicates that the 'address' argument is optional, and only applicable to public messages.