Added required API key to dotenv

This commit is contained in:
Miguel Nogueira 2020-12-27 18:24:38 +00:00
parent 6021155289
commit 83e87103bf
Signed by: miguel456
GPG Key ID: 2CF61B825316C6A0
1 changed files with 1 additions and 0 deletions

View File

@ -7,5 +7,6 @@ $dotenv->load();
$dotenv->required('BOT_AUTH_TOKEN')->notEmpty(); $dotenv->required('BOT_AUTH_TOKEN')->notEmpty();
$dotenv->required('COMMAND_PREFIX')->notEmpty(); $dotenv->required('COMMAND_PREFIX')->notEmpty();
$dotenv->required('CAT_API_KEY')->notEmpty();
define('PROJECT_ROOT', realpath(__DIR__ . '/../../')); define('PROJECT_ROOT', realpath(__DIR__ . '/../../'));