Resolving issue 33

This commit is contained in:
Rafael Vargas
2023-01-23 10:35:52 -03:00
parent a72c4c7d8d
commit 7310eda1a1
3 changed files with 15 additions and 1 deletions

View File

@@ -7,6 +7,10 @@ from Config.Folder import Folder
class VConfigs(Singleton):
def __init__(self) -> None:
if not super().created:
# You can change this boolean to False if you want to prevent the Bot from auto disconnecting
# Resolution for the issue: https://github.com/RafaelSolVargas/Vulkan/issues/33
self.SHOULD_AUTO_DISCONNECT_WHEN_ALONE = True
self.BOT_PREFIX = '!'
try:
self.BOT_TOKEN = config('BOT_TOKEN')