mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-07-04 20:25:25 +02:00
Not 500 error when given invalid guild id or css id in embed page
This commit is contained in:
@ -322,6 +322,13 @@ def language_code_list():
|
||||
codes.append(lang["code"])
|
||||
return codes
|
||||
|
||||
def is_int(specimen):
|
||||
try:
|
||||
int(specimen)
|
||||
return True
|
||||
except:
|
||||
return False
|
||||
|
||||
rate_limiter = Limiter(key_func=get_client_ipaddr) # Default limit by ip address
|
||||
socketio = SocketIO(engineio_logger=config.get("engineio-logging", False))
|
||||
babel = Babel()
|
||||
|
Reference in New Issue
Block a user