mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
fix: bannersize fixed, honeypot will now put 'Honeypot' as a ban reason
This commit is contained in:
@@ -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 : NadekoModule<SearchesService>
|
||||
{
|
||||
usr ??= (IGuildUser)ctx.User;
|
||||
|
||||
var bannerUrl = usr.GetGuildBannerUrl();
|
||||
var bannerUrl = usr.GetGuildBannerUrl(size: 2048);
|
||||
|
||||
if (bannerUrl is null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user