aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/exceptions.py
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2020-04-16 14:59:59 -0700
committerGravatar GitHub <[email protected]>2020-04-16 14:59:59 -0700
commit394d681630b6cfbccb404eb5110ac94b7c0e41d4 (patch)
treeadfeac6f64ed5ffc2f4e728d29bce4501199924c /bot/utils/exceptions.py
parentTransition towards `wait_until_guild_available` use (diff)
parentMerge pull request #396 from ks129/keyerrors-fix (diff)
Merge branch 'master' into wait-until-guild-ready
Diffstat (limited to '')
-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