Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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 
Exemplo n.º 4
0
 def __init__(self, loud=False):
     Command.__init__(self)
     self.volume = 8 if not loud else 16
Exemplo n.º 5
0
 def __init__(self):
     Command.__init__(self, "compile")
Exemplo n.º 6
0
 def __init__(self):
     Command.__init__(self, "list")
Exemplo n.º 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"
Exemplo n.º 8
0
 def __init__(self):
     Command.__init__(self)
Exemplo n.º 9
0
 def __init__(self, info, description):
     Command.__init__(self, info, description)
Exemplo n.º 10
0
 def __init__(self):
     Command.__init__(self, "add")
Exemplo n.º 11
0
 def __init__(self):
     Command.__init__(self)
     self._request_uri = "http://api.fixer.io/latest?base={}&symbols={}"
Exemplo n.º 12
0
 def __init__(self, **kwargs):
     Command.__init__(self, **kwargs)
     if type(self).params is None:
         type(self).params = ParamPipe()
         self.setup()
Exemplo n.º 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")
Exemplo n.º 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")
Exemplo n.º 15
0
 def __init__(self):
     Command.__init__(self, "clone")
Exemplo n.º 16
0
    def __init__(self, quote_repository):
        Command.__init__(self)

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

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

        self._message_repository = message_repository
        self._quote_repository = quote_repository
Exemplo n.º 27
0
    def __init__(self, message_repository, message=None):
        Command.__init__(self)

        self._message_repository = message_repository
        self.message = message
Exemplo n.º 28
0
 def __init__(self, client, api_key):
     Command.__init__(self)
     self.client = client
     self.api_key = api_key
Exemplo n.º 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"
Exemplo n.º 30
0
    def __init__(self, quote_repository):
        Command.__init__(self)

        self._quote_repository = quote_repository
Exemplo n.º 31
0
    def __init__(self, message_repository, message = None):
        Command.__init__(self)

        self._message_repository = message_repository
        self.message = message
Exemplo n.º 32
0
 def __init__(self):
     Command.__init__(self, "set")