aboutsummaryrefslogtreecommitdiff
path: root/src/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 0ec973c..de670c9 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -1,5 +1,5 @@
-use std::result::Result as StdResult;
-
+/// The maximum length of the textual size of an embed.
+pub const EMBED_MAX_LENGTH: u16 = 4000;
/// The gateway version used by the library. The gateway URI is retrieved via
/// the REST API.
pub const GATEWAY_VERSION: u8 = 6;