From 0aaaa23c85a683b0b48def4a7789ad8fab237f8c Mon Sep 17 00:00:00 2001 From: elmon Date: Thu, 23 Dec 2021 21:43:00 +0100 Subject: [PATCH] Update server_commands.py --- commands/server_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/server_commands.py b/commands/server_commands.py index b7b01b7..d172932 100644 --- a/commands/server_commands.py +++ b/commands/server_commands.py @@ -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