From 3859d984b5e957e97f38e18d734c3ac545dbf5e9 Mon Sep 17 00:00:00 2001 From: nsde Date: Tue, 29 Aug 2023 08:48:45 +0200 Subject: [PATCH] Fix --- cord/tos_verification.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cord/tos_verification.py b/cord/tos_verification.py index a2ab243..0e58ee6 100644 --- a/cord/tos_verification.py +++ b/cord/tos_verification.py @@ -13,7 +13,7 @@ load_dotenv() async def verify(interaction) -> bool: try: resp = requests.post( - url='https://nova-oss.com/api/tos-verification', + url='http://localhost:2323/api/tos-verification', timeout=5, headers={ 'Content-Type': 'application/json', @@ -21,9 +21,12 @@ async def verify(interaction) -> bool: } ).json() except Exception as exc: - await embedder.error(interaction, """Sorry, + await embedder.error(interaction, f"""Sorry, the API server for the verification system is not functioning, -which means you can\'t create a new key right now. Please report this issue to the staff!""") +which means you can\'t create a new key right now. Please report this issue to the staff: + +```{type(exc)} - {exc}``` +""") raise exc success = False