Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'invite' not emitted #86

Closed
jsocol opened this issue Apr 23, 2012 · 1 comment
Closed

'invite' not emitted #86

jsocol opened this issue Apr 23, 2012 · 1 comment

Comments

@jsocol
Copy link
Contributor

jsocol commented Apr 23, 2012

Not sure why, but the 'invite' event isn't getting emitted, in fact it doesn't seem to be diving into the 'INVITE' case at all (adding a console.log call to that case in the switch doesn't do anything).

Digging a bit, but filing first in case anyone else has ideas, or has seen this before.

@martynsmith
Copy link
Owner

Certainly this is working for me:

c.addListener('invite', function(channel, from, message) {
    console.log('invite: ', arguments);
});

Is outputting when I use my regular IRC client to invite the bot to a channel.

If it continues to not work for you, can you please re-open this issue, and provide some more detail (perhaps what server you're using, and some code samples?).

Thanks,

Martyn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants