import main from yaml import dump class AliasCommand: def __init__(self, *args): self.alias(*args) def alias(self, addr, authed, data, obj, spl, success, failure, info, incUsage, length): if authed: info(dump(main.alias)) else: incUsage(None)