aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-13 08:22:30 +0300
committerGravatar ks129 <[email protected]>2020-04-13 08:22:30 +0300
commit295001c8a00d0f8bc9b77457c97314ee0aa34745 (patch)
tree8671a4a2f7c37b6862adee83f5dcd30ba9d7e2b7 /bot/utils
parent(TicTacToe): Applied `Player.display()` and `AI.display()` to cog and `Game` ... (diff)
parentMerge branch 'master' into tic-tac-toe (diff)
Merge remote-tracking branch 'origin/tic-tac-toe' into tic-tac-toe
Diffstat (limited to 'bot/utils')
-rw-r--r--bot/utils/exceptions.py6
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