mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
Merge branch 'master' into fixunknownmemberflood
This commit is contained in:
commit
6162b9b77e
1 changed files with 2 additions and 0 deletions
|
@ -264,6 +264,8 @@ public class BanCommandGroup : CommandGroup
|
|||
return Result.FromError(unbanResult.Error);
|
||||
}
|
||||
|
||||
data.GetOrCreateMemberData(target.ID).BannedUntil = null;
|
||||
|
||||
var embed = new EmbedBuilder().WithSmallTitle(
|
||||
string.Format(Messages.UserUnbanned, target.GetTag()), target)
|
||||
.WithColour(ColorsList.Green).Build();
|
||||
|
|
Loading…
Add table
Reference in a new issue