-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
core: handle 005 RPL_ISUPPORT event #1758
Conversation
I'm getting closer to the end: now the ISupport class is able to build a new instance of ISupport by applying changes! What's left: adding the right rule callables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally got to this. It's exciting! It was ready not long before my trip out of town for Thanksgiving, and I unfortunately didn't really have a chance to look at it until now (after getting back home). But boy, was it worth the wait!
There are just a few actual questions; most of the line comments are just typos/wording suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as #1769, I thought I'd already approved this. They're both good to squash & rebase (to fix pesky merge conflicts introduced on master
recently).
Rebased, conflict resolved, and squashed. |
#1751 why? You betrayed me. |
You can access ISUPPORT information from: * bot.isupport['KEY'] (where KEY is case-insensitive) * bot.KEY when advertised by the server (where KEY is case-sensitive) Co-Authored-By: dgw <dgw@technobabbl.es>
WIP to show a bit of the ISupport thing: my idea is to have a storage structure with the basic parsing tools at first. Then, I'll implement an actual callable, triggered by the event
RPL_ISUPPORT
, with the proper machinery to parse, update, and remove ISupport data.This Draft version aims to open a small conversation about the design and the usability of the ISupport class.
Quick note: the ISupport class will generate immutable object. There is no good reason to mess with that, as every bit of information comes from the server itself.