diff --git a/DiscordLab.ConnectionLogs/Events.cs b/DiscordLab.ConnectionLogs/Events.cs index a56d997..da4ba00 100644 --- a/DiscordLab.ConnectionLogs/Events.cs +++ b/DiscordLab.ConnectionLogs/Events.cs @@ -45,6 +45,9 @@ public override void OnPlayerLeft(PlayerLeftEventArgs ev) if (Config.LeaveChannelId == 0) return; + if (ev.Player?.IsReady != true) + return; + if (!Client.TryGetOrAddChannel(Config.LeaveChannelId, out SocketTextChannel channel)) { Logger.Error(