Skip to content

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.

When are they sent?

Currently never. We are working to fix that 😄.

Integrations

Below is a list of the currently supported meathos. Want more? Let us know or do a PR.

Slack

Discord

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

Webhook

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:  
}
Clone this wiki locally