! Published.
This commit is contained in:
10
src/Bot.php
Normal file
10
src/Bot.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use function Core\discord;
|
||||
|
||||
const BOT_ROOT = __DIR__;
|
||||
define('BOT_BUILD', trim(file_get_contents(BOT_ROOT . DIRECTORY_SEPARATOR . 'version')));
|
||||
|
||||
require_once __DIR__ . '/Bootstrap/Requires.php';
|
||||
|
||||
discord()->run(); // Run the bot
|
||||
Reference in New Issue
Block a user