Closed GoogleCodeExporter closed 9 years ago
It seems the issue has magically fixed itself O.o
Original comment by george.d...@gmail.com
on 2 Apr 2013 at 6:01
I spoke to soon. It seems that the '.time' and '.hyiplist' do not work in
private message setting still.
Original comment by george.d...@gmail.com
on 2 Apr 2013 at 6:10
I have tested your bot and it works fine
Private messaging:
<TheLQ> .options
<InvestManager> Your available options are: .time, .hyiplist
<TheLQ> Hello
<InvestManager> HelloUser(nick=TheLQ, realName=, login=, hostmask=, away=false,
ircop=false, server=, hops=0, bot=Version{PircBotX 1.9-SNAPSHOT, a fork of
PircBot, the Java IRC bot - pircbotx.googlecode.com} Connected{true}
Server{irc.freenode.net} Port{6667} Password{null},
uuid=30949b82-82d4-4890-90e2-6336d15e984b)to start, please type '.options'
(for FirstContact you probably meant to use event.getUser().getNick())
And in the channel
<TheLQ> .time
<InvestManager> TheLQ: The current time is Wed Apr 03 16:59:53 EDT 2013
So I know everything is working as expected: You listen for private messages in
StateOptions and FirstContact, and you listen for channel messages in
TimeCommand
If you wish to handle both private messages and channel messages in the same
class and don't care about the channel you can instead listen for
GenericMessageEvent.
Original comment by Lord.Qua...@gmail.com
on 3 Apr 2013 at 9:06
Original issue reported on code.google.com by
george.d...@gmail.com
on 2 Apr 2013 at 5:58Attachments: