Describe the bug
It seems that restarting the API after sending inactive bot warnings, bots are deleted before the announced period.
An easy fix would be to save a timestamp/date inside a last_warned_at field to avoid this issue.
To Reproduce
Steps to reproduce the behavior:
- Start the API
- Wait for the inactive warnings to be sent
- Restart the API
- Bots are deleted
Expected behavior
Bots should be deleted only one month after and not at the restart of the app
Screenshots

Checklist
Describe the bug
It seems that restarting the API after sending inactive bot warnings, bots are deleted before the announced period.
An easy fix would be to save a timestamp/date inside a
last_warned_atfield to avoid this issue.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Bots should be deleted only one month after and not at the restart of the app
Screenshots

Checklist