Mode Change API

Registered by aj00200

The BBot API needs a method to send mode changes to the addons so that they can react accordingly. This could possibly be done via callbacks like commands are so that the code doesn't slow down when multiple modules are given mode info that they will never use.

Blueprint information

Status:
Complete
Approver:
aj00200
Priority:
Medium
Drafter:
aj00200
Direction:
Needs approval
Assignee:
aj00200
Definition:
Approved
Series goal:
Accepted for 7.0.0
Implementation:
Implemented
Milestone target:
None
Started by
aj00200
Completed by
aj00200

Related branches

Sprints

Whiteboard

Requested Feedback from aj00200:
What do you think about having it hooked, otherwise, it would probably be passed via the get_raw method.

Response:
I think that having it hooked would be a good idea, that way we can easily have modules react in accordance to mode changes as they occur (useful for the bantracker module and other mode-change-reactive modules that may be included in the future).

---

Requested Feedback from aj00200:
I'm also questioning if we should convert the bot over to using more callbacks.

Response:
We can discuss converting the entire bot over to using more callbacks in a separate blueprint, if you'd rather discuss that option separately from the mode change api. In fact, I recommend that over discussing converting the entire bot over to using more callbacks, as we want to focus on the Mode Change API in this blueprint.

--EvilPhoenix

**EDIT** Priority changed for blueprint to Medium. Reason: other blueprints depend on this blueprint.

----------------------------------

Started implementation May 7th, 2011 and have gone with the callback method for the mode changes. It is almost complete, but still needs some more testing.

--AJ00200

----------------------------------

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.