diff --git a/src/Responders/GuildMemberJoinedResponder.cs b/src/Responders/GuildMemberJoinedResponder.cs index bb60b0b..b2069bf 100644 --- a/src/Responders/GuildMemberJoinedResponder.cs +++ b/src/Responders/GuildMemberJoinedResponder.cs @@ -38,11 +38,6 @@ public class GuildMemberJoinedResponder : IResponder var data = await _guildData.GetData(gatewayEvent.GuildID, ct); var cfg = data.Settings; - if (GuildSettings.PublicFeedbackChannel.Get(cfg).Empty() - || GuildSettings.WelcomeMessage.Get(cfg) is "off" or "disable" or "disabled") - { - return Result.FromSuccess(); - } if (GuildSettings.ReturnRolesOnRejoin.Get(cfg)) { @@ -55,6 +50,12 @@ public class GuildMemberJoinedResponder : IResponder } } + if (GuildSettings.PublicFeedbackChannel.Get(cfg).Empty() + || GuildSettings.WelcomeMessage.Get(cfg) is "off" or "disable" or "disabled") + { + return Result.FromSuccess(); + } + Messages.Culture = GuildSettings.Language.Get(cfg); var welcomeMessage = GuildSettings.WelcomeMessage.Get(cfg) is "default" or "reset" ? Messages.DefaultWelcomeMessage