Skip to content

Commit

Permalink
Merge pull request #52 from kyledoesdev/feature/reminder-emails
Browse files Browse the repository at this point in the history
logging updates.
  • Loading branch information
kyledoesdev authored Feb 1, 2025
2 parents cc2f915 + ac2ebde commit 29c5ebb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/Console/Commands/RankingReminderCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ public function handle()
$users->each(function(User $user) {
if ($user->preferences && $user->preferences->recieve_reminder_emails === true) {
Notification::send($user, new RankingReminderNotification($user->rankings));

Log::channel('single')->info("Notifying: {$user->email}");

//sleep(2);
}
});
});

Log::channel('discord')->info("Completed Ranking Reminders.");
}
}
2 changes: 2 additions & 0 deletions app/Models/Ranking.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ public static function start($request): self

Song::insert($songs);

Log::channel('discord')->info(auth()->user()->name . ' started ranking: ' . $ranking->name);

return $ranking;
}

Expand Down

0 comments on commit 29c5ebb

Please sign in to comment.