discord.js Client and Discord Gateway: session resumption behavior during zero-downtime deployments
Goal Achieve a deployment process for a small discord.js bot that avoids any gap in event delivery when replacing the running process. Constraints and uncertainty The Discord Gateway permits session resumption via RESUME using a stored session ID and sequence number, and discord.js handles this automatically for transient disconnects. However, a full process