Skip to content

Commit

Permalink
Merge pull request #302 from czqoocavatsim/JoshuaBranch
Browse files Browse the repository at this point in the history
Fix Further Issues with Threads...
  • Loading branch information
JoshuaMicallefYBSU authored Aug 18, 2024
2 parents 4ae3539 + 0bbdeea commit 14dee3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected function schedule(Schedule $schedule)
$schedule->job(new ProcessSessionReminders())->daily();

// Check Training Threads Status (Once per week)
$schedule->job(new DiscordTrainingUpdates())->weeklyOn(7, '17:25');
$schedule->job(new DiscordTrainingUpdates())->weeklyOn(7, '17:45');

// Discord role updating
//$schedule->job(new UpdateDiscordUserRoles)->twiceDaily(6, 18);
Expand Down
2 changes: 1 addition & 1 deletion app/Jobs/DiscordTrainingUpdates.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function handle()
}

// Tell the log chat
$discord->sendMessageWithEmbed(env('DISCORD_WEB_LOGS'), 'AUTO: Training Thread Availability Requests',$counter. ' Training Threads have been messaged asking for their weekly availability. This is only completed if a student has no scheduled session within the next 7 days.');
$discord->sendMessageWithEmbed(env('DISCORD_WEB_LOGS'), 'AUTO: Training Thread Availability Requests', $counter.' Training Threads have been messaged asking for their weekly availability. This is only completed if a student has no scheduled session within the next 7 days.');
}

// Check 'Awaiting Exam' label students between 31-37 Days after Application
Expand Down

0 comments on commit 14dee3b

Please sign in to comment.