Defer the reply before the permission check (uncached member fetch + DB lookups) so a slow preamble no longer trips Discord's 3-second window and shows "The application did not respond". Wrap all post-defer work in one try/catch that editReplies an error, and make channel resolution catch fetch errors so an unreachable DISCORD_CHANGELOG_CHANNEL_ID replies clearly instead of hanging the interaction. Also export compareVersions and make the shipped-file test assert newest-first rather than a hardcoded version. |
||
|---|---|---|
| .. | ||
| e2e | ||
| int | ||
| push-schema.ts | ||
| seed-baseline.ts | ||
| test-db.ts | ||
| vitest-global.ts | ||
| vitest-teardown.ts | ||