diff --git a/Izzy-Moonbot/EventListeners/UserListener.cs b/Izzy-Moonbot/EventListeners/UserListener.cs index e7bd7a31..cf9a9bcc 100644 --- a/Izzy-Moonbot/EventListeners/UserListener.cs +++ b/Izzy-Moonbot/EventListeners/UserListener.cs @@ -167,10 +167,13 @@ await _mod.AddRoles(member, _users[member.Id].RolesToReapplyOnRejoin, var msg = $"{(catchingUp ? "Catching up on " : "")}Join: <@{member.Id}> (`{member.Id}`), created {autoSilence}{joinedBefore}{rolesAutoappliedString}"; _logger.Log($"Generated moderation log for user join: ${msg}"); - await _modLogger.CreateModLog(member.Guild) - .SetContent(msg) - .SetFileLogContent(msg) - .Send(); + if (!catchingUp) + { + await _modLogger.CreateModLog(member.Guild) + .SetContent(msg) + .SetFileLogContent(msg) + .Send(); + } } private async Task MemberLeaveEvent(SocketGuild guild, SocketUser user)