diff options
Diffstat (limited to 'src/model/error.rs')
| -rw-r--r-- | src/model/error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/model/error.rs b/src/model/error.rs index a54b1ed..4126ac3 100644 --- a/src/model/error.rs +++ b/src/model/error.rs @@ -101,6 +101,9 @@ pub enum Error { /// /// [`Message`]: ../model/struct.Message.html MessageTooLong(u64), + /// Indicates that the current user is attempting to Direct Message another + /// bot user, which is disallowed by the API. + MessagingBot, } impl Display for Error { |