-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
How to perform a whois query? #10
Comments
When you call c.whois, a whois is a message sent to the server. It's an asynchronous operation for which the response may or may not come later. I've never used this feature before, but I suspect to catch the response, you need to define 'on_whois(self, c, e)' and parse out the message. If that doesn't work, then you'll have to dig into the IRC RFC and find out what message is sent in response to a whois query, and define 'on_'. Good luck, and please report back what you find. Original comment by: Jason R. Coombs |
Its cool. You can close this. Original comment by: unconscious |
Ill be sending you some pull requests with enhancements btw. :) Original comment by: unconscious |
Not a bug, but a question. Glad to help, though. Original comment by: Jason R. Coombs |
How to perform a whois on a client?
For example:
When using singleserverircbot as the base class
returns nothing
The text was updated successfully, but these errors were encountered: