def __init__(self, args): self.command = None self.message = None self.headless = args["headless"] self.silent = args["silent"] self.server = args["server"] if self.server: self.headless = True self.silent = True self.twitter_api = None self.twitter_user = None realhud.load_gif(DRAGONFIRE_PATH + "/realhud/animation/avatar.gif")
def __init__(self, args, testing=False): """Initialization method of :class:`dragonfire.utilities.TextToAction` class. Args: args: Command-line arguments. """ self.headless = args["headless"] self.silent = args["silent"] self.server = args["server"] self.testing = testing if self.server: self.headless = True self.silent = True self.twitter_api = None self.twitter_user = None if not self.headless: realhud.load_gif(DRAGONFIRE_PATH + "/realhud/animation/avatar.gif")
def __init__(self, args): self.headless = args["headless"] self.silent = args["silent"] realhud.load_gif(DRAGONFIRE_PATH + "/realhud/animation/avatar.gif")
def __init__(self): realhud.load_gif(DRAGONFIRE_PATH + "/realhud/animation/avatar.gif")