forked from spacejewelhosting/raspberry-bot
Migrated to Gitea
This commit is contained in:
10
src/Bot/init.php
Normal file
10
src/Bot/init.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
require realpath(__DIR__ . '/../../vendor/autoload.php');
|
||||
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(realpath(__DIR__ . '/../../'));
|
||||
$dotenv->load();
|
||||
|
||||
$dotenv->required('BOT_AUTH_TOKEN')->notEmpty();
|
||||
$dotenv->required('COMMAND_PREFIX')->notEmpty();
|
||||
|
Reference in New Issue
Block a user