diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index d0a641d2..05767852 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -106,7 +106,7 @@ protected function schedule(Schedule $schedule) $schedule->job(new ProcessSessionReminders())->daily(); // Check Training Threads Status (Once per week) - $schedule->job(new DiscordWeeklyTrainingUpdates())->weeklyOn(7, '22:05'); + $schedule->job(new DiscordWeeklyTrainingUpdates())->weeklyOn(7, '22:21'); // Discord role updating //$schedule->job(new UpdateDiscordUserRoles)->twiceDaily(6, 18); diff --git a/app/Jobs/DiscordWeeklyTrainingUpdates.php b/app/Jobs/DiscordWeeklyTrainingUpdates.php index a62de5ca..49a4c1e9 100644 --- a/app/Jobs/DiscordWeeklyTrainingUpdates.php +++ b/app/Jobs/DiscordWeeklyTrainingUpdates.php @@ -128,15 +128,15 @@ public function handle() $avail_message++; // // SendEmbed to ask student to send availability - // $discord->sendEmbedInTrainingThread($cid, "Your Availability", 'Hello, <@'.$student->user->discord_user_id.'> + $discord->sendEmbedInTrainingThread($cid, "Please Provide Availability", 'Hello, - // Please provide your availability for the next 7-14 days. Please ensure to tag the `@Instructor` role with all times you are available. Please provide these times in Zulu Format. +Please provide your availability for the next 7-14 days. Please ensure to tag the `@Instructor` role with all times you are available. Please provide these times in Zulu Format. - // One of our team will make contact with you to organise a session if they have availability matching yours. +One of our team will make contact with you to organise a session if they have availability matching yours. - // *If you have done this in the past few days, please disregard this message.*'); +*If you have done this in the past few days, please disregard this message.*'); - $discord->sendMessageWithEmbed(env('DISCORD_WEB_LOGS'), 'Found Thread to Use: '.$thread['name'], $thread['name']); + // $discord->sendMessageWithEmbed(env('DISCORD_WEB_LOGS'), 'Thread Sent: '.$thread['name'], 'Availability Message Sent'); } } }