<filename>custom/ilsgateway/tanzania/handlers/help.py
from __future__ import absolute_import
from custom.ilsgateway.tanzania.handlers.keyword import KeywordHandler
from custom.ilsgateway.tanzania.reminders import HELP_REGISTERED, HELP_UNREGISTERED


class HelpHandler(KeywordHandler):

    def help(self):
        if self.user:
            self.respond(HELP_REGISTERED)
        else:
            self.respond(HELP_UNREGISTERED)

        return True

    def handle(self):
        return self.help()

<filename>custom/ilsgateway/tanzania/handlers/help.py
from __future__ import absolute_import
from custom.ilsgateway.tanzania.handlers.keyword import KeywordHandler
from custom.ilsgateway.tanzania.reminders import HELP_REGISTERED, HELP_UNREGISTERED


class HelpHandler(KeywordHandler):

    def help(self):
        if self.user:
            self.respond(HELP_REGISTERED)
        else:
            self.respond(HELP_UNREGISTERED)

        return True

    def handle(self):
        return self.help()
