From 4cfd0a15f90254a64737503da760544cbc0a8a0f Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Tue, 11 Apr 2023 14:47:03 +0700 Subject: [PATCH] among us 1000 --- .../chipmunk/chayapak/chomens_bot/commands/MusicCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/MusicCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/MusicCommand.java index 022d05d..f50fc8e 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/MusicCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/MusicCommand.java @@ -303,7 +303,7 @@ public class MusicCommand implements Command { final long milliseconds; try { - milliseconds = Long.parseLong(args[1]); + milliseconds = Long.parseLong(args[1]) / 1000; } catch (NumberFormatException e) { return Component.text("Invalid timestamp").color(NamedTextColor.RED); }