def force_tax(author: Union[AccountId, str], server: Server):
    """Manually trigger taxation"""
    author = _get_account(author, server)
    _assert_authorized(author, None)
    server.force_tax(author)
Example #2
0
def process_force_tax(author: AccountId, message: str, server: Server,
                      **kwargs):
    assert_authorized(author, server, Authorization.ADMIN)
    server.force_tax(author)
    return f"You managed to steal from those people you tax-loving bureaucrat"