Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artisan command doesn't see token config value #26

Closed
iamoverit opened this issue Jul 1, 2019 · 2 comments
Closed

artisan command doesn't see token config value #26

iamoverit opened this issue Jul 1, 2019 · 2 comments

Comments

@iamoverit
Copy link

here is my problem:
$ php artisan discord:setup
You must paste your Discord token (App Bot User token) into your services.php config file.
View the README for more info: https://github.com/laravel-notification-channels/discord#installation

but in my config/services.php i have
'discord' => [
'token' => env('DISCORD_BOT_TOKEN')
],
and in my .env file a have a DISCORD_BOT_TOKEN value

@codyphobe
Copy link
Contributor

Has your config been cached prior to adding the discord key to services.php?

Try running php artisan config:clear, then php artisan discord:setup

@atymic
Copy link
Member

atymic commented Sep 10, 2019

Closing due to inactivity.

@atymic atymic closed this as completed Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants