summaryrefslogtreecommitdiff
path: root/lib/chessh/discord/notifier.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chessh/discord/notifier.ex')
-rw-r--r--lib/chessh/discord/notifier.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chessh/discord/notifier.ex b/lib/chessh/discord/notifier.ex
index f4fc4fa..6a20e89 100644
--- a/lib/chessh/discord/notifier.ex
+++ b/lib/chessh/discord/notifier.ex
@@ -55,6 +55,8 @@ defmodule Chessh.DiscordNotifier do
end
defp send_notification({:player_joined, game_id}) do
+ Logger.info("Player joined in #{game_id}")
+
case Repo.get(Game, game_id) |> Repo.preload([:dark_player, :light_player]) do
%Game{
status: :continue,