diff --git a/src/main/java/net/dv8tion/jda/api/utils/FileUpload.java b/src/main/java/net/dv8tion/jda/api/utils/FileUpload.java index 6ac2f7b5d1..ecd713b27a 100644 --- a/src/main/java/net/dv8tion/jda/api/utils/FileUpload.java +++ b/src/main/java/net/dv8tion/jda/api/utils/FileUpload.java @@ -422,7 +422,10 @@ public FileUpload asVoiceMessage(@Nonnull MediaType mediaType, @Nonnull byte[] w */ public boolean isVoiceMessage() { - return this.mediaType.type().equals("audio"); + return this.mediaType.type().equals("audio") + && this.durationSeconds > 0.0 + && this.waveform != null + && this.waveform.length > 0; } /**