From b08c34b2009c0440da843b1405c98b104acbf173 Mon Sep 17 00:00:00 2001 From: ks129 <45097959+ks129@users.noreply.github.com> Date: Wed, 8 Apr 2020 20:01:17 +0300 Subject: (Minesweeper): Moved `UserNotPlayingError` to `bot.utils.exceptions`, removed definition in extensions. Removed custom error handler. --- bot/utils/exceptions.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bot/utils/exceptions.py') diff --git a/bot/utils/exceptions.py b/bot/utils/exceptions.py index 70c20e12..dc62debe 100644 --- a/bot/utils/exceptions.py +++ b/bot/utils/exceptions.py @@ -2,3 +2,9 @@ class BrandingError(Exception): """Exception raised by the BrandingManager cog.""" pass + + +class UserNotPlayingError(Exception): + """Will raised when user try to use game commands when not playing.""" + + pass -- cgit v1.2.3