PatrickKennedy/pygab

Classify locations

Opened this issue · 0 comments

String based locations are find and all but wrapping them in classes would allow for information to more easily be transported with them.

ex.

class EV_MSG(Location):
    """Fired when the bot receives a message. 
    
    Arguments:
        a raw message stanza."""

Making Location a mount would allow locations to be defined anywhere like plugins.