aboutsummaryrefslogtreecommitdiff
path: root/code/global_variables.py
diff options
context:
space:
mode:
Diffstat (limited to 'code/global_variables.py')
-rw-r--r--code/global_variables.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/code/global_variables.py b/code/global_variables.py
index 1507f7a..d2cbab4 100644
--- a/code/global_variables.py
+++ b/code/global_variables.py
@@ -57,3 +57,9 @@ BOT_INVITE_LINK = config["BOT_INFO"]["BOT_INVITE_LINK"]
LAVALINK_HOST = config["LAVALINK"]["HOST"]
LAVALINK_PORT = config["LAVALINK"]["PORT"]
LAVALINK_PASSWORD = config["LAVALINK"]["PASSWORD"]
+
+
+class CheckPlayerError(discord.app_commands.AppCommandError):
+ def __init__(self, info) -> None:
+ self.info = info
+ super().__init__()