Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rtk-rnjn committed Oct 5, 2023
1 parent 3bfd4c8 commit 2034fd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_commands/sector_17_29/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ async def on_bulk_message_delete(self, messages: list[discord.Message]) -> None:
st = ""

for message in messages:
st = f"""
[{message.created_at}] {message.author} ({message.author.id}) - {message.content}
"""
st += f"""
[{message.created_at}] {message.author} ({message.author.id}) - {message.content}\n
""".strip("\n")

file = discord.File(io.BytesIO(st.encode()), filename="messages.txt")
if not hasattr(self, "message_delete_webhook"):
Expand Down

0 comments on commit 2034fd0

Please sign in to comment.