Spaces:
Running
Running
Update Hellbot/core/initializer.py
Browse files
Hellbot/core/initializer.py
CHANGED
@@ -63,8 +63,8 @@ async def ForcesubSetup() -> None:
|
|
63 |
chats = await db.get_all_forcesubs()
|
64 |
for chat in chats:
|
65 |
chat_key = chat["chat"]
|
66 |
-
if chat_key not in Config.FORCESUBS:
|
67 |
-
|
68 |
|
69 |
async def GachaBotsSetup() -> None:
|
70 |
"""Initialize GachaBots Config"""
|
|
|
63 |
chats = await db.get_all_forcesubs()
|
64 |
for chat in chats:
|
65 |
chat_key = chat["chat"]
|
66 |
+
if chat_key not in Config.FORCESUBS:
|
67 |
+
Config.FORCESUBS.add(chat_key)
|
68 |
|
69 |
async def GachaBotsSetup() -> None:
|
70 |
"""Initialize GachaBots Config"""
|