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

provide a way to access the current nick #12

Closed
lloyd opened this issue May 9, 2011 · 3 comments
Closed

provide a way to access the current nick #12

lloyd opened this issue May 9, 2011 · 3 comments

Comments

@lloyd
Copy link
Contributor

lloyd commented May 9, 2011

Given that during join the client library might change the nick (by appending self.nickMod when err_nicknameinuse is received), there should be a way to attain the current nick. This could perhaps be a parameter to the registered event?

@martynsmith
Copy link
Owner

The property "nick" already exists to give you the nickname, is this different to what you were suggesting?

Do you actually want an event that fires when the nickname changes?

@martynsmith
Copy link
Owner

Actually, on closer inspection, if you want an event, you can already bind the 'nick' event.

I'm going to mark this as closed assuming one of these two comments solves your problem, if I'm incorrect please re-open this :-)

@lloyd
Copy link
Contributor Author

lloyd commented May 11, 2011

oh nice, I missed that the self.nick property is updated and available. I don't need an event, I'm happy.

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