eibex/reaction-light

DB not self-cleaning after deleting servers

eibex opened this issue · 0 comments

eibex commented

Describe the bug

The DB does not clean admin roles, message IDs and related reactions/roles if a server does not exist anymore.

To Reproduce

  1. Create a server
  2. Add an admin
  3. Add a reaction-role message
  4. Delete the server
  5. Restart the bot or wait 24 hours

Expected behavior
The DB cleans itself