diff --git a/.env.example b/.env.example index a906e9a..8dcde81 100755 --- a/.env.example +++ b/.env.example @@ -53,8 +53,10 @@ DISCORD_CLIENT_ID= DISCORD_CLIENT_SECRET= DISCORD_BOT_TOKEN= +# Don't touch the base url DISCORD_HOME_GUILD= DISCORD_STAFF_GUILD= +DISCORD_BASE_URL="https://discord.com/api/v9" ARCANEDEV_LOGVIEWER_MIDDLEWARE=web,auth,can:admin.maintenance.logs.view diff --git a/config/services.php b/config/services.php index 48749c2..2a72c74 100755 --- a/config/services.php +++ b/config/services.php @@ -37,6 +37,7 @@ return [ 'client_id' => env('DISCORD_CLIENT_ID'), 'client_secret' => env('DISCORD_CLIENT_SECRET'), 'redirect' => env('DISCORD_REDIRECT_URI'), + 'base_url' => env('DISCORD_BASE_URL'), 'token' => env('DISCORD_BOT_TOKEN'),