Example #1
0
class BusinessPlugin(WillPlugin):
    def __init__(self, *args, **kwargs):
        self.business = Business()
        return WillPlugin.__init__(self, *args, **kwargs)

    @hear("business")
    def hear_business(self, message):
        """
        business: Get your favourite corporate strategems
        """
        return self.reply(message, self.business.acquire_business())
Example #2
0
class BusinessPlugin(WillPlugin):

    def __init__(self, *args, **kwargs):
        self.business = Business()
        return WillPlugin.__init__(self, *args, **kwargs)

    @hear("business")
    def hear_business(self, message):
        """
        business: Get your favourite corporate strategems
        """
        return self.reply(message, self.business.acquire_business())
Example #3
0
 def __init__(self, *args, **kwargs):
     self.business = Business()
     return WillPlugin.__init__(self, *args, **kwargs)
Example #4
0
 def __init__(self, *args, **kwargs):
     self.business = Business()
     return WillPlugin.__init__(self, *args, **kwargs)