reformatted
This commit is contained in:
parent
90c97d3f54
commit
b3045bf724
@ -218,7 +218,9 @@ async def generate(
|
|||||||
except Exception: # pylint: disable=W0718
|
except Exception: # pylint: disable=W0718
|
||||||
error_data = "error message unreadable"
|
error_data = "error message unreadable"
|
||||||
|
|
||||||
error_message = f"Error {status_code} at API-request.\n" f"Answer: {error_data}\n"
|
error_message = (
|
||||||
|
f"Error {status_code} at API-request.\n" f"Answer: {error_data}\n"
|
||||||
|
)
|
||||||
|
|
||||||
await interaction.followup.send(error_message)
|
await interaction.followup.send(error_message)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user