Skip to content

Commit 5e6c997

Browse files
authored
Adjust MAX_FILE_SIZE (#2777)
1 parent 317a895 commit 5e6c997

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/dv8tion/jda/api/entities/Message.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ public interface Message extends ISnowflake, Formattable
142142
String JUMP_URL = "https://discord.com/channels/%s/%s/%s";
143143

144144
/**
145-
* The maximum sendable file size (25 MiB)
145+
* The maximum sendable file size (10 MiB)
146146
*
147147
* @see MessageRequest#setFiles(Collection)
148148
*/
149-
int MAX_FILE_SIZE = 25 << 20;
149+
int MAX_FILE_SIZE = 10 << 20;
150150

151151
/**
152152
* The maximum amount of files sendable within a single message ({@value})

0 commit comments

Comments
 (0)