From 84a88253baffb6c27273317e41c8e77364f16e2c Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Thu, 15 Aug 2024 21:49:27 +1000 Subject: [PATCH] Update DiscordTestController.php --- app/Http/Controllers/DiscordTestController.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/Http/Controllers/DiscordTestController.php b/app/Http/Controllers/DiscordTestController.php index de9d57ad..52b1798e 100644 --- a/app/Http/Controllers/DiscordTestController.php +++ b/app/Http/Controllers/DiscordTestController.php @@ -36,4 +36,14 @@ public function Shanwick() 'data' => $result, ]); } + + public function SendEmbed() + { + //New Applicant in Instructor Channel + $discord = new DiscordClient(); + $discord->sendMessageWithEmbed('482817676067209217', 'Oceanic Training Cancelled!', +'Your training request with Gander Oceanic has been terminated. + +If you would like to begin training again, please re-apply via the Gander Website.'); + } }