From 756555a061f365f0df871eed9806bea6b453841a Mon Sep 17 00:00:00 2001 From: Toastie Date: Fri, 13 Dec 2024 22:35:53 +1300 Subject: [PATCH] bannersize fixed, honeypot will now put 'Honeypot' as a ban reason --- src/EllieBot/Modules/Administration/Honeypot/HoneyPotService.cs | 2 +- src/EllieBot/Modules/Searches/Searches.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EllieBot/Modules/Administration/Honeypot/HoneyPotService.cs b/src/EllieBot/Modules/Administration/Honeypot/HoneyPotService.cs index 8ff20ac..560d6d4 100644 --- a/src/EllieBot/Modules/Administration/Honeypot/HoneyPotService.cs +++ b/src/EllieBot/Modules/Administration/Honeypot/HoneyPotService.cs @@ -71,7 +71,7 @@ public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoC try { Log.Information("Honeypot caught user {User} [{UserId}]", user, user.Id); - await user.BanAsync(pruneDays: 1); + await user.BanAsync(pruneDays: 1, reason: "Honeypot"); await user.Guild.RemoveBanAsync(user.Id); } catch (Exception e) diff --git a/src/EllieBot/Modules/Searches/Searches.cs b/src/EllieBot/Modules/Searches/Searches.cs index 752af68..5b4baaf 100644 --- a/src/EllieBot/Modules/Searches/Searches.cs +++ b/src/EllieBot/Modules/Searches/Searches.cs @@ -417,7 +417,7 @@ public partial class Searches : EllieModule { usr ??= (IGuildUser)ctx.User; - var bannerUrl = usr.GetGuildBannerUrl(); + var bannerUrl = usr.GetGuildBannerUrl(size: 2048); if (bannerUrl is null) {