mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
okay that was weird
Signed-off-by: Macintosh II <95250141+mctaylors@users.noreply.github.com>
This commit is contained in:
parent
5aa161ed33
commit
c0a78c610e
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ public class BanCommandGroup : CommandGroup
|
|||
var unbanResult = await _guildApi.RemoveGuildBanAsync(
|
||||
guildId, target.ID, $"({user.GetTag()}) {reason}".EncodeHeader(),
|
||||
ct);
|
||||
memberData.MutedUntil = null;
|
||||
memberData.BannedUntil = null;
|
||||
if (!unbanResult.IsSuccess)
|
||||
{
|
||||
return Result.FromError(unbanResult.Error);
|
||||
|
|
Loading…
Add table
Reference in a new issue