diff --git a/bot.php b/bot.php index fc96f4c..2b546dc 100755 --- a/bot.php +++ b/bot.php @@ -1,25 +1,27 @@ #!/usr/bin/php . +namespace itwikidelbot; + // autoload classes require __DIR__ . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'autoload.php'; // load credentials require __DIR__ . DIRECTORY_SEPARATOR . 'config.php'; // create the category year $year = date( 'Y' ); -itwikidelbot\CategoryYear::createIfNotExists( $year ); +CategoryYear::createIfNotExists( $year );