diff options
author | 2020-04-08 20:01:17 +0300 | |
---|---|---|
committer | 2020-04-08 20:01:17 +0300 | |
commit | b08c34b2009c0440da843b1405c98b104acbf173 (patch) | |
tree | 1817e7f81481c913a53f68c01d3a03ddebb7de86 /bot/utils/exceptions.py | |
parent | (Minesweeper): Added raising `UserNotPlayingError`, attached flag command to ... (diff) |
(Minesweeper): Moved `UserNotPlayingError` to `bot.utils.exceptions`, removed definition in extensions. Removed custom error handler.
Diffstat (limited to 'bot/utils/exceptions.py')
-rw-r--r-- | bot/utils/exceptions.py | 6 |
1 files changed, 6 insertions, 0 deletions
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 |