mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-21 23:24:57 +00:00
Update server_commands.py
This commit is contained in:
parent
e81d8e71d7
commit
0aaaa23c85
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue