yauib icon indicating copy to clipboard operation
yauib copied to clipboard

privmsg hook is causing bot to speak to itself

Open jonlundy opened this issue 9 years ago • 1 comments

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 avatar Dec 15 '15 23:12 jonlundy

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
'

jonlundy avatar Dec 15 '15 23:12 jonlundy