-
Notifications
You must be signed in to change notification settings - Fork 0
Notifications
Sam Collins edited this page Dec 20, 2016
·
1 revision
Notifications are sent using a wide range of different channels and also allow custom webhooks.
Currently never. We are working to fix that 😄.
Below is a list of the currently supported meathos. Want more? Let us know or do a PR.
To use the discord notifications you will need to create a discord application at the discord developer area.
Once this has been done you will need to add your API token to the config at config/services.php
// config/services.php
'discord' => [
'token' => 'YOUR_API_TOKEN',
],
To complete setup and perform a test run the below command
php artisan discord:setup
We will send the following data to a url which you have defined in your config at armabyte.notifcations.webhook
. You can use {user}
in the url and it will be replaced with the users id.
We will send the following data:
{
to:
message:
}