fix: deleteMessageSeconds is not, in fact, milliseconds

This commit is contained in:
2025-09-03 19:06:19 -07:00
parent 7e0e54c06b
commit eec0292106
+1 -1
View File
@@ -40,7 +40,7 @@ export const handleMessage = async(
You are not banned, however, and may rejoin at any time after you recover your account.`, You are not banned, however, and may rejoin at any time after you recover your account.`,
}); });
await resolvedMember.ban({ await resolvedMember.ban({
deleteMessageSeconds: 24 * 60 * 60 * 1000, deleteMessageSeconds: 24 * 60 * 60,
reason: "Soft ban for a compromised account.", reason: "Soft ban for a compromised account.",
}); });
await guild.bans.remove(resolvedMember.id, await guild.bans.remove(resolvedMember.id,