<?php include 'config.php'; include 'lib.php'; include 'bots.php'; BotLogger::write_log(' --- starting --- '); $bot = new Ebcari(); $bot = new NavarroCabreado(); $bot = new FailBN(); $bot = new EgoBN(); $bot = new EbcariSevikunTeQuiero(); BotLogger::write_log(" --- goodbye! ({$GLOBALS['cache']['sqlqueries']} queries) --- ");
function __post($user, $password, $id, $text) { $res = BotUtils::post($user, $password, $id, $text); if (BotUtils::is_successful($res)) { BotUtils::save_id($this->datasource, $this->user, $id); } BotLogger::write_log("{$user}: twittd: {$text}"); }