aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-06-22 06:53:26 -0700
committerZeyla Hellyer <[email protected]>2017-06-22 06:53:26 -0700
commita68dbf9ade6fe6844ede35f82be5ee1da636158a (patch)
treea0f4af0544efe1d8e8ab60da31edb80aff85a4e7 /src
parentAttempt to reconnect if heartbeating fails (diff)
downloadserenity-a68dbf9ade6fe6844ede35f82be5ee1da636158a.tar.xz
serenity-a68dbf9ade6fe6844ede35f82be5ee1da636158a.zip
Update max embed length
Embeds can now have a combined textual length of 6000, up from 4000.
Diffstat (limited to 'src')
-rw-r--r--src/constants.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 1d4ec88..b957d1d 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -1,7 +1,7 @@
//! A set of constants used by the library.
/// The maximum length of the textual size of an embed.
-pub const EMBED_MAX_LENGTH: u16 = 4000;
+pub const EMBED_MAX_LENGTH: u16 = 6000;
/// The gateway version used by the library. The gateway URI is retrieved via
/// the REST API.
pub const GATEWAY_VERSION: u8 = 6;