-
Notifications
You must be signed in to change notification settings - Fork 421
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
User MODE changes are not being received in +MODE/-MODE handlers #374
Comments
Ya, mode needs to be cleaned up a bit to remove duplicate lines and redundant parsing, I'm not sure what 'prefixForMode' is for, any idea? |
After a looking the line you referred its in anticipation of when the bot first joins the channel and gets a message (i.e. MODE: nodebot sets mode: +iwRTxv) The line: |
@jnull An |
@Darkhogg, you're right i mixed up my break and my return, i just realized this is probably working because i only set one listener mode and not the other -mode when i was testing last night, so i thought i was running into a problem, which was just phantom. i think modes are working fine then. |
Can you please try and see if the new events added in #351 solve this for you? Closing this for now as I believe it will. |
In the current state of the library, user modes are not received by any event handlers (other than
raw
, of course).My bot reacts to some user mode changes (especially
+r
), and treating them as regularMODE
commands would be nice.It seems that this line is preventing it, I'm not sure if on purpose.
The text was updated successfully, but these errors were encountered: