aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-12 19:27:22 +0300
committerGravatar GitHub <[email protected]>2020-04-12 19:27:22 +0300
commit0ed2ca2e6426c6e35ed44c593f9402b27b908c49 (patch)
tree7c5d6cd08988a99e9771b5527cdbad1dac1b12b3 /bot/utils
parent(TicTacToe): Setting winning as priority in AI instead blocking opponent. (diff)
parentMerge pull request #396 from ks129/keyerrors-fix (diff)
Merge branch 'master' 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