aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_core/utils/interactions.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-06-14 12:22:06 +0100
committerGravatar GitHub <[email protected]>2023-06-14 12:22:06 +0100
commitb3425c40532b02ad54ac7be9eb96e830d7e1a5ef (patch)
treefa0a4c47fae5ec993086180c8348d20e2d7903f6 /pydis_core/utils/interactions.py
parentUpdate the base image used for dev bot (diff)
Bump d.py (#181)v9.8.0
* Bump d.py to 2.3.0 * Linting fixes for new ruff version
Diffstat (limited to 'pydis_core/utils/interactions.py')
-rw-r--r--pydis_core/utils/interactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_core/utils/interactions.py b/pydis_core/utils/interactions.py
index 6e419342..cb5f26b4 100644
--- a/pydis_core/utils/interactions.py
+++ b/pydis_core/utils/interactions.py
@@ -23,7 +23,7 @@ async def _handle_modify_message(message: Message, action: Literal["edit", "dele
elif isinstance(e, NotFound):
log.info(f"Could not find message {message.id} when attempting to {action} it.")
else:
- log.error(f"Could not {action} message {message.id} due to Discord HTTP error:\n{str(e)}")
+ log.error(f"Could not {action} message {message.id} due to Discord HTTP error:\n{e!s}")
class ViewWithUserAndRoleCheck(ui.View):