JulienPalard / yauib

Yet Another Useless IRC Bot is an IRC bot calling executables files in a hook folder to react to events so you can write your bot's reactions in any language you want. -- If you want to test the bot, come on our channel #zomgffs@quakenet.org
Other
36 stars 4 forks source link

privmsg hook is causing bot to speak to itself #3

Open jonlundy opened 8 years ago

jonlundy commented 8 years ago

I am not sure if i did something wrong but i linked the command hook as privmsg and now the responses that come from the bot are being sent to the bots nick instead of the one that messaged it.

jonlundy commented 8 years ago
2015-12-15 23:40:53 INFO calling: ['hooks-enabled/all_raw_messages', 'lechuck.hackint.org', '', '', '', ':xuu!xuu@hackint/user/xuu PRIVMSG skillet :help']
2015-12-15 23:40:53 INFO calling: ['hooks-enabled/privmsg', 'xuu', 'xuu@hackint/user/xuu', 'skillet', '', 'help']
Running command 'help' with ''
2015-12-15 23:40:53 INFO     \_ response 'MSG skillet Usage: help COMMAND
    With COMMANDS in :
>>> ! about alias cal calc date feature-request fortune grep help !last md5sum note ping quote reader rss run say sha1sum slack stats status taunt tinyurl translate twitter unalias untinyurl weather wiki
'