Change how GUILD_DELETE cleans up the listener
Adding `this.events[id]?.()` cleans up the listener. I removed
`opts.cancel()` because with it, the event had issues firing after the
first time.

Resolves: #1242
1 parent 184433b commit f81e5f6afa0d08cd6eca8f74066d78bb189d0c8b
@Zane Helton Zane Helton authored on 28 Jun 2025
Madeline committed on 29 Jun 2025
Showing 1 changed file
View
src/gateway/listener/listener.ts