AleixFerre / catabot

DISCONTINUED 🤖 - Benvingut al millor bot de Discord en Català! :D
https://aleixferre.github.io/catabot/
MIT License
11 stars 3 forks source link

[IDEA] - Restart command with saved users #162

Closed AleixFerre closed 3 years ago

AleixFerre commented 3 years ago

Save in the database the last user that executes the command and in the ready event send a DM to him in order to notify for the restart.

Just after sending the message, delete the field (or set it to null) to not spam the person when the bot crashes or restarts naturally.

It's a good practice to notify the admin aswell all the times and send him how the bot crashed: