mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 16:33:36 +03:00
wait come back
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
34573d7b65
commit
fb28147114
1 changed files with 1 additions and 6 deletions
|
@ -36,12 +36,7 @@ public class GuildMemberLeftResponder : IResponder<IGuildMemberRemove>
|
||||||
var cfg = data.Settings;
|
var cfg = data.Settings;
|
||||||
|
|
||||||
var memberData = data.GetOrCreateMemberData(user.ID);
|
var memberData = data.GetOrCreateMemberData(user.ID);
|
||||||
if (memberData.BannedUntil is not null)
|
if (memberData.BannedUntil is not null || memberData.Kicked)
|
||||||
{
|
|
||||||
return Result.FromSuccess();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (memberData.Kicked)
|
|
||||||
{
|
{
|
||||||
return Result.FromSuccess();
|
return Result.FromSuccess();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue