Update server_commands.py

This commit is contained in:
elmon 2021-12-23 21:43:00 +01:00 committed by GitHub
parent e81d8e71d7
commit 0aaaa23c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -362,7 +362,7 @@ class ServerCommands(commands.Cog, name="Server Commands"):
await report.delete()
time = embed.timestamp
difference = datetime.now() - time
if difference.days >= 0:
if difference.days >= 1:
await report.delete()
await archived_reports_channel.send("Message archived because it is older than 24 hours", embed=embed)
count += 1