Send an email when a server is marked as installed (#1213)
Co-authored-by: @stanjg
This commit is contained in:
parent
c42605e495
commit
1ffb5acfad
7 changed files with 141 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
namespace Pterodactyl\Providers;
|
||||
|
||||
use Pterodactyl\Events\Server\Installed as ServerInstalledEvent;
|
||||
use Pterodactyl\Notifications\ServerInstalled as ServerInstalledNotification;
|
||||
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||
|
||||
class EventServiceProvider extends ServiceProvider
|
||||
|
@ -11,5 +13,9 @@ class EventServiceProvider extends ServiceProvider
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $listen = [];
|
||||
protected $listen = [
|
||||
ServerInstalledEvent::class => [
|
||||
ServerInstalledNotification::class,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue