예제 #1
0
파일: commands.py 프로젝트: mugcake/toot
def mute(app, user, args):
    account = _find_account(app, user, args.account)
    api.mute(app, user, account['id'])
    print_out("<green>✓ You have muted {}</green>".format(args.account))
예제 #2
0
파일: commands.py 프로젝트: sudoWright/toot
def mute(app, user, args):
    account = _find_account(app, user, args.account)
    api.mute(app, user, account['id'])
    print(green("✓ You have muted %s" % args.account))