diff --git a/src/EllieBot/Modules/Administration/Honeypot/HoneyPotService.cs b/src/EllieBot/Modules/Administration/Honeypot/HoneyPotService.cs index ab0d0f0..8108aad 100644 --- a/src/EllieBot/Modules/Administration/Honeypot/HoneyPotService.cs +++ b/src/EllieBot/Modules/Administration/Honeypot/HoneyPotService.cs @@ -5,7 +5,7 @@ using EllieBot.Db.Models; using System.Threading.Channels; namespace EllieBot.Modules.Administration.Honeypot; - +/* public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoCommand, IEService { private readonly DbService _db; @@ -71,7 +71,8 @@ public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoC try { Log.Information("Honeypot caught user {User} [{UserId}]", user, user.Id); - await user.BanAsync(); + await user.BanAsync(pruneDays: 1); + await user.Guild.RemoveBanAsync(user.Id); } catch (Exception e) { @@ -91,4 +92,5 @@ public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoC await _punishments.Writer.WriteAsync(sgu); } } -} \ No newline at end of file +} +*/ \ No newline at end of file diff --git a/src/EllieBot/Modules/Administration/Honeypot/HoneypotCommands.cs b/src/EllieBot/Modules/Administration/Honeypot/HoneypotCommands.cs index 479e975..9a1f5b3 100644 --- a/src/EllieBot/Modules/Administration/Honeypot/HoneypotCommands.cs +++ b/src/EllieBot/Modules/Administration/Honeypot/HoneypotCommands.cs @@ -1,7 +1,7 @@ -using EllieBot.Modules.Administration.Honeypot; +using EllieBot.Modules.Administration.Honeypot; namespace EllieBot.Modules.Administration; - +/* public partial class Administration { [Group] @@ -26,4 +26,5 @@ public partial class Administration await Response().Confirm(strs.honeypot_off).SendAsync(); } } -} \ No newline at end of file +} +*/ \ No newline at end of file diff --git a/src/EllieBot/Modules/Administration/Honeypot/IHoneyPotService.cs b/src/EllieBot/Modules/Administration/Honeypot/IHoneyPotService.cs index e6d6c20..c64e7b9 100644 --- a/src/EllieBot/Modules/Administration/Honeypot/IHoneyPotService.cs +++ b/src/EllieBot/Modules/Administration/Honeypot/IHoneyPotService.cs @@ -1,6 +1,7 @@ -namespace EllieBot.Modules.Administration.Honeypot; - +namespace EllieBot.Modules.Administration.Honeypot; +/* public interface IHoneyPotService { public Task ToggleHoneypotChannel(ulong guildId, ulong channelId); -} \ No newline at end of file +} +*/ \ No newline at end of file