You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.py
+8-3
Original file line number
Diff line number
Diff line change
@@ -87,9 +87,14 @@ async def main():
87
87
LOGGER.info("Loop play enabled , starting playing startup stream.")
88
88
awaitstart_stream()
89
89
exceptExceptionase:
90
-
LOGGER.error(f"Startup was unsuccesfull, Errors - {e}", exc_info=True)
91
-
LOGGER.info("Activating debug mode, you can reconfigure your bot with /env command.")
92
-
Config.STARTUP_ERROR=f"Startup was unsuccesfull, Errors - {e}"
90
+
if"unpack requires"instr(e):
91
+
LOGGER.error("You Have to generate a new session string from the link given in README of the repo and replace the existing one with the new.")
92
+
LOGGER.info("Activating debug mode, you can reconfigure your bot with /env command.")
93
+
Config.STARTUP_ERROR=f"You Have to generate a new session string from the link given in README of the repo and replace the existing one with the new. \nGenerate string session from https://repl.it/@subinps/getStringName"
94
+
else:
95
+
LOGGER.error(f"Startup was unsuccesfull, Errors - {e}", exc_info=True)
96
+
LOGGER.info("Activating debug mode, you can reconfigure your bot with /env command.")
97
+
Config.STARTUP_ERROR=f"Startup was unsuccesfull, Errors - {e}"
0 commit comments