def METHOD_NAME(self, bot):
    """
    Provides access to the Bot class that owns the connection.
    FIXME: is made necessary since socketio does not provide (yet) a way
    to pass extra arguments to the ctor of the namespace at creation.
    """
    self.bot = bot
    return self