Skip to content

Commit f7c98ba

Browse files
fix lint
1 parent 1467e74 commit f7c98ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bot/exts/utils/attachment_pastebin_uploader.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ async def on_message(self, message: discord.Message) -> None:
128128
# Send the user a DM with the delete link for the paste.
129129
# The angle brackets around the remove link are required to stop Discord from visiting the URL to produce a
130130
# preview, thereby deleting the paste
131-
await message.author.send(content=f"""[Click here](<{paste_response.removal}>) to delete the pasted code
132-
from [your message](<{message.jump_url}>)""")
131+
await message.author.send(content=(f"[Click here](<{paste_response.removal}>) to delete the pasted code"
132+
" from [your message](<{message.jump_url}>)")
133+
)
133134

134135
# Edit the bot message to contain the link to the paste.
135136
await bot_reply.edit(content=f"[Click here]({paste_response.link}) to see this code in our pastebin.")

0 commit comments

Comments
 (0)