Example #1
0
    def __init__(self, trivia_question_repository, user_repository):
        Command.__init__(self)

        self._trivia_question_repository = trivia_question_repository
        self._user_repository = user_repository
        self._game_started = False
        self._current_question = None
Example #2
0
    def __init__(self, trivia_question_repository, user_repository):
        Command.__init__(self)

        self._trivia_question_repository = trivia_question_repository
        self._user_repository = user_repository
        self._game_started = False
        self._current_question = None
Example #3
0
    def __init__(self, args):
        Command.__init__(self, args)
        self.apkFile = args.apk
        # print(type(args.perm))

        self.show_permission = args.perm      
        self.show_signature = args.sign
        self.components = args.comp 
Example #4
0
 def __init__(self, loud=False):
     Command.__init__(self)
     self.volume = 8 if not loud else 16
Example #5
0
 def __init__(self):
     Command.__init__(self, "compile")
Example #6
0
 def __init__(self):
     Command.__init__(self, "list")
Example #7
0
 def __init__(self):
     Command.__init__(self)
     self._request_uri = "http://api.giphy.com/v1/gifs/random?tag={}&api_key={}"
     self._api_key = "dc6zaTOxFJmzC"
Example #8
0
 def __init__(self):
     Command.__init__(self)
Example #9
0
 def __init__(self, info, description):
     Command.__init__(self, info, description)
Example #10
0
 def __init__(self):
     Command.__init__(self, "add")
Example #11
0
 def __init__(self):
     Command.__init__(self)
     self._request_uri = "http://api.fixer.io/latest?base={}&symbols={}"
Example #12
0
 def __init__(self, **kwargs):
     Command.__init__(self, **kwargs)
     if type(self).params is None:
         type(self).params = ParamPipe()
         self.setup()
Example #13
0
    def __init__(self):
        Command.__init__(self)

        self._request_uri = "http://api.openweathermap.org/data/2.5/weather?q={}&appid={}"
        self._api_key = os.getenv("WEATHER_API_KEY")
Example #14
0
    def __init__(self):
        Command.__init__(self)

        self._request_uri = "http://api.openweathermap.org/data/2.5/weather?q={}&appid={}"
        self._api_key = os.getenv("WEATHER_API_KEY")
Example #15
0
 def __init__(self):
     Command.__init__(self, "clone")
Example #16
0
    def __init__(self, quote_repository):
        Command.__init__(self)

        self._quote_repository = quote_repository
Example #17
0
 def __init__(self):
     Command.__init__(self)
     self.registration = Registration()
     self.only_public_chats = True
Example #18
0
File: smart.py Project: vlegoff/mud
 def __init__(self, **kwargs):
     Command.__init__(self, **kwargs)
     if type(self).params is None:
         type(self).params = ParamPipe()
         self.setup()
Example #19
0
 def __init__(self, loud=False):
     Command.__init__(self)
     self.volume = 8 if not loud else 16
Example #20
0
 def __init__(self):
     Command.__init__(self)
Example #21
0
 def __init__(self):
     Command.__init__(self)
     self._request_uri = "http://api.fixer.io/latest?base={}&symbols={}"
Example #22
0
 def __init__(self):
     Command.__init__(self)
     self._restart_command = self._check_systemd_or_upstart()
     print(self._restart_command)
Example #23
0
 def __init__(self):
     Command.__init__(self, "deps")
Example #24
0
 def __init__(self, client, api_key):
     Command.__init__(self)
     self.client = client
     self.api_key = api_key
Example #25
0
    def __init__(self):
        Command.__init__(self)

        self._request_uri = "http://api.urbandictionary.com/v0/define?term={}"
Example #26
0
    def __init__(self, message_repository, quote_repository):
        Command.__init__(self)

        self._message_repository = message_repository
        self._quote_repository = quote_repository
Example #27
0
    def __init__(self, message_repository, message=None):
        Command.__init__(self)

        self._message_repository = message_repository
        self.message = message
Example #28
0
 def __init__(self, client, api_key):
     Command.__init__(self)
     self.client = client
     self.api_key = api_key
Example #29
0
 def __init__(self):
     Command.__init__(self)
     self._request_uri = "http://api.giphy.com/v1/gifs/random?tag={}&api_key={}"
     self._api_key = "dc6zaTOxFJmzC"
Example #30
0
    def __init__(self, quote_repository):
        Command.__init__(self)

        self._quote_repository = quote_repository
Example #31
0
    def __init__(self, message_repository, message = None):
        Command.__init__(self)

        self._message_repository = message_repository
        self.message = message
Example #32
0
 def __init__(self):
     Command.__init__(self, "set")