def cmd(send, msg, args):
    """Reposts a url.

    Syntax: {command}

    """
    result = args['db'].query(Urls).order_by(func.random()).first()
    send("%s" % result.url)
def cmd ( send , msg , args ) : result = args [ 'db' ] . query ( Urls ) . order_by ( func . random ( ) ) . first ( ) send ( "%s" % result . url )
Reposts a url.

    Syntax: {command}