Skip to content

Commit

Permalink
Merge pull request #414 from czqoocavatsim/JoshuaBranch
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
JoshuaMicallefYBSU authored Nov 25, 2024
2 parents 6d79260 + 7e9f8c3 commit 3662777
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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 @@ -46,7 +46,7 @@ protected function schedule(Schedule $schedule)
$schedule->job(new ProcessShanwickControllers())->cron('0 * * * *'); //Updated Hourly

//Discord Update
$schedule->job(new DiscordAccountCheck())->everyHour();
$schedule->job(new DiscordAccountCheck())->cron('0 * * * *'); //Updated Hourly

//Roster Inactivity checks
$schedule->job(new ProcessRosterInactivity())->dailyAt('23:55');
Expand Down
1 change: 0 additions & 1 deletion app/Http/Controllers/Training/SessionsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public function createTrainingSession(Request $request)

//Discord Notification in Training Thread
$discord = new DiscordClient();
$discord->sendMessage($session->student->user->id, '<@'.$session->student->user->discord_user_id.'>');
$discord->sendEmbedInTrainingThread($session->student->user->id, 'New Training Session Booked',
'A training session has been created for you on <t:'.Carbon::parse($request->get('scheduled_time'))->timestamp.':F>.
Expand Down

0 comments on commit 3662777

Please sign in to comment.