Update bot.py

Add NHTTP error codes
This commit is contained in:
Ocarinaoftime 2025-04-01 07:43:41 -04:00 committed by GitHub
parent 1f76cd5fa6
commit 17c44d437f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
bot.py
View File

@ -37,11 +37,13 @@ error_codes = """
204042: User is not registered with the server
204961: SSL cipher error when trying to communicate with SOAP servers
204050: You do not own a title; ticket not found
204036: Problem importing Title metadata
204036: Problem importing title metadata
204035: Problem importing ticket
204037: Problem importing title content
204034: Invalid SOAP response
204400-204899: HTTP Status Code (from HTTP 100 to HTTP 599)
204900-204959: NHTTP Error range
204960-204979: EC SSL Error range
20955X: 2-7 Timeout occurred between client and server
204704: Equivalent to a HTTP 404 error
2056XX: ECS Error
@ -420,4 +422,4 @@ try:
except Exception as e:
print("i cant let you do that dave...")
create_database()
bot.run(token)
bot.run(token)