Skip to content

Fix unhandled Unknown Message crash in pagination collector#1135

Open
silent-decibel wants to merge 1 commit into
TripSit:mainfrom
silent-decibel:silentdecibel-addDeletedMessageGuard
Open

Fix unhandled Unknown Message crash in pagination collector#1135
silent-decibel wants to merge 1 commit into
TripSit:mainfrom
silent-decibel:silentdecibel-addDeletedMessageGuard

Conversation

@silent-decibel

Copy link
Copy Markdown

Attach a .catch() to the button-disabling edit in src/discord/utils/pagination.ts so a deleted message no
longer crashes the process. This mirrors the existing defensive handling already present for the similar edit
in d.busyness.ts.

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.

2 participants