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

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

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

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

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

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

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