Skip to content

feat: delete guild data when bot is removed from a server - #20

Merged
masonlet merged 2 commits into
mainfrom
feat/guild-data-cleanup
Jul 7, 2026
Merged

feat: delete guild data when bot is removed from a server#20
masonlet merged 2 commits into
mainfrom
feat/guild-data-cleanup

Conversation

@masonlet

@masonlet masonlet commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a guildDelete handler that removes a guild's stored deadlines/messages when the bot is kicked

Changes

  • deleteGuildData() in storageHelpers.ts removes the guild's data directory
  • handleGuildDelete wires it into the Discord client with error logging
  • Tests cover both the storage helper and the handler

@masonlet
masonlet merged commit fc8dc97 into main Jul 7, 2026
2 checks passed
@masonlet
masonlet deleted the feat/guild-data-cleanup branch July 7, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant