aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2019-11-28 08:32:42 +0100
committerGravatar GitHub <[email protected]>2019-11-28 08:32:42 +0100
commitbfde96aa4ee91a800d03106855afa22b958a92a2 (patch)
treec6dd4ccf2a6026ab21239a700d076fcb0f4aa0c8
parentAdd try/except for attachment saving (diff)
Fix misspelling
Co-Authored-By: Mark <[email protected]>
-rw-r--r--bot/cogs/antispam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/antispam.py b/bot/cogs/antispam.py
index 3118e0a42..0d3d0c4cc 100644
--- a/bot/cogs/antispam.py
+++ b/bot/cogs/antispam.py
@@ -280,7 +280,7 @@ async def reupload_attachments(
reupload: Message = await channel.send(file=File(buffer, filename=attachment.filename))
out.append(reupload.attachments[0].url)
except (HTTPException, NotFound):
- log.warning(f"Tried to re-upload attchment {attachment.id}, but it has failed.")
+ log.warning(f"Tried to re-upload attachment {attachment.id}, but it has failed.")
return out