mirror of
https://github.com/RafaelSolVargas/Vulkan.git
synced 2025-10-29 16:57:23 +00:00
fix(Configs.py): change default BOT_PREFIX to '!' if it is set to 'Your_Wanted_Prefix_For_Vulkan'
This commit is contained in:
@@ -25,6 +25,9 @@ class VConfigs(Singleton):
|
|||||||
|
|
||||||
self.BOT_PREFIX = os.getenv('BOT_PREFIX', '!')
|
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')
|
self.BOT_TOKEN = os.getenv('BOT_TOKEN')
|
||||||
if self.BOT_TOKEN is None:
|
if self.BOT_TOKEN is None:
|
||||||
raise ValueError('No token was given')
|
raise ValueError('No token was given')
|
||||||
|
|||||||
Reference in New Issue
Block a user