benbot/run.php

18 lines
266 B
PHP
Raw Normal View History

#!/usr/bin/env php
2017-03-30 12:45:12 +00:00
<?php
2017-04-07 23:09:43 +00:00
ini_set('display_errors', true);
error_reporting(-1);
2017-04-07 23:09:43 +00:00
2017-04-06 13:50:12 +00:00
if (!cli_set_process_title("BenBot")) {
die("couldn't set process title");
}
2017-03-30 12:45:12 +00:00
require_once __DIR__.'/vendor/autoload.php';
2017-04-07 23:09:43 +00:00
$benbot = new BenBot\BenBot(__DIR__);
2017-03-30 12:45:12 +00:00
$benbot->run();