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
print(f"Successfully connected to {switchip}:{switchport}.")
35
+
exceptsocket.error:
36
+
print(f"Unable to connect to {switchip}:{switchport}.\nClick here to follow the connection troubleshooting guide by the official sysbot team.\nhttps://github.com/kwsch/SysBot.NET/wiki/Troubleshooting-Connection-Errors\nEnsure you have sys-botbase installed on your switch.")
37
+
awaitasyncio.sleep(5)
38
+
print("Setup successful. Now closing setup.py...")
39
+
awaitasyncio.sleep(5)
40
+
client.logout()
41
+
42
+
try:
43
+
client.run('{}'.format(token))
44
+
exceptExceptionase:
45
+
print(f"Error when logging in: {e}\n\n\nMake sure you have PRESENCE INTENT and SERVER MEMBERS INTENT turned on in the bot's settings page on the developer portal.")
0 commit comments