1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-22 21:50:56 +03:00

Bump muno92/resharper_inspectcode from 1.12.3 to 1.13.0 (#348)

This commit is contained in:
dependabot[bot] 2025-05-19 08:33:14 +00:00 committed by GitHub
parent f3330c47cc
commit 5a351cbd97
Signed by: GitHub
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 38 deletions

View file

@ -36,13 +36,9 @@ public sealed class GuildMemberLeftResponder : IResponder<IGuildMemberRemove>
var cfg = data.Settings;
var memberData = data.GetOrCreateMemberData(user.ID);
if (memberData.BannedUntil is not null || memberData.Kicked)
{
return Result.Success;
}
if (GuildSettings.WelcomeMessagesChannel.Get(cfg).Empty()
|| GuildSettings.LeaveMessage.Get(cfg) is "off" or "disable" or "disabled")
if (memberData.BannedUntil is not null || memberData.Kicked
|| GuildSettings.WelcomeMessagesChannel.Get(cfg).Empty()
|| GuildSettings.LeaveMessage.Get(cfg) is "off" or "disable" or "disabled")
{
return Result.Success;
}