bannersize fixed, honeypot will now put 'Honeypot' as a ban reason
This commit is contained in:
parent
e05792639c
commit
756555a061
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -417,7 +417,7 @@ public partial class Searches : EllieModule<SearchesService>
|
|||
{
|
||||
usr ??= (IGuildUser)ctx.User;
|
||||
|
||||
var bannerUrl = usr.GetGuildBannerUrl();
|
||||
var bannerUrl = usr.GetGuildBannerUrl(size: 2048);
|
||||
|
||||
if (bannerUrl is null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue