From 266411cd6fc9ee96310da52c68264f303bcf5938 Mon Sep 17 00:00:00 2001 From: Zeyla Hellyer Date: Tue, 27 Jun 2017 18:13:35 -0700 Subject: Add missing ModelError variant in description impl --- src/model/error.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/model/error.rs') diff --git a/src/model/error.rs b/src/model/error.rs index 4126ac3..3fffca6 100644 --- a/src/model/error.rs +++ b/src/model/error.rs @@ -123,6 +123,7 @@ impl StdError for Error { Error::InvalidUser => "The current user can not perform the action", Error::ItemMissing => "The required item is missing from the cache", Error::MessageTooLong(_) => "Message too large", + Error::MessagingBot => "Attempted to message another bot user", } } } -- cgit v1.2.3