diff options
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/error.rs b/src/client/error.rs index 6a18b7a..225f2d3 100644 --- a/src/client/error.rs +++ b/src/client/error.rs @@ -57,6 +57,9 @@ pub enum Error { /// When attempting to delete a number of days' worth of messages that is /// not allowed. DeleteMessageDaysAmount(u8), + /// Indicates that the textual content of an embed exceeds the maximum + /// length. + EmbedTooLarge(u64), /// When there is an error from Discord for a specific action, such as /// [`ErrorCode::EditByOtherAuthor`]. This is a friendlier representation of /// the numerical error codes Discord provides. |