feat: prepare discord channel
This commit is contained in:
parent
ea75a287c2
commit
e6b10ab44e
@ -30,6 +30,10 @@ DB_DATABASE=laravel
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=
|
||||
|
||||
# Bot token for the Discord notification integration.
|
||||
# Create an application & bot here: https://discord.com/developers/applications
|
||||
DISCORD_BOT_TOKEN=
|
||||
|
||||
RECAPTCHA_SITE_KEY=
|
||||
RECAPTCHA_PRIVATE_KEY=
|
||||
RECAPTCHA_VERIFY_URL="https://www.google.com/recaptcha/api/siteverify"
|
||||
|
@ -261,6 +261,7 @@ return [
|
||||
\App\Providers\OptionsProvider::class,
|
||||
App\Providers\DigitalStorageProvider::class,
|
||||
App\Providers\JSONProvider::class,
|
||||
NotificationChannels\Discord\DiscordServiceProvider::class,
|
||||
|
||||
],
|
||||
|
||||
|
@ -38,6 +38,8 @@ return [
|
||||
'client_secret' => env('DISCORD_CLIENT_SECRET'),
|
||||
'redirect' => env('DISCORD_REDIRECT_URI'),
|
||||
|
||||
'token' => env('DISCORD_BOT_TOKEN'),
|
||||
|
||||
// optional
|
||||
'allow_gif_avatars' => (bool)env('DISCORD_AVATAR_GIF', true),
|
||||
'avatar_default_extension' => env('DISCORD_EXTENSION_DEFAULT', 'jpg'), // only pick from jpg, png, webp
|
||||
|
Loading…
x
Reference in New Issue
Block a user