fix timeout millis
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 39s
This commit is contained in:
parent
120afee73b
commit
194a5d8119
@ -138,7 +138,7 @@ public class MemberListener implements EventListener {
|
||||
OffsetDateTime timeoutEnd = event.getNewTimeOutEnd();
|
||||
if (user.getDiscordUser().isBot() || timeoutEnd == null) return;
|
||||
|
||||
long millis = timeoutEnd.toInstant().toEpochMilli();
|
||||
long millis = timeoutEnd.toInstant().toEpochMilli() / 1000;
|
||||
logFeature.sendLog(guild, LogType.MEMBER_TIMEOUT, EmbedUtils.errorEmbed()
|
||||
.setDescription(new EmbedDescriptionBuilder("Member Timed Out")
|
||||
.appendLine("Member: %s".formatted(user.getDiscordUser().getAsMention()), true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user