fix(Configs.py): change default BOT_PREFIX to '!' if it is set to 'Your_Wanted_Prefix_For_Vulkan'

This commit is contained in:
Paillat 2023-07-14 16:53:23 +02:00
parent aa5649bcdc
commit a82bf7950b

View File

@ -25,6 +25,9 @@ class VConfigs(Singleton):
self.BOT_PREFIX = os.getenv('BOT_PREFIX', '!')
if self.BOT_PREFIX == 'Your_Wanted_Prefix_For_Vulkan':
self.BOT_PREFIX = '!'
self.BOT_TOKEN = os.getenv('BOT_TOKEN')
if self.BOT_TOKEN is None:
raise ValueError('No token was given')