SpinShare Referee Bot refbot.ellite.dev/overlay
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

send error message to user who caused a failed interaction #19

open opened by alpine.girlfag.club

if an interaction fails for any reason, the user who triggered it should receive an error message explaining what went wrong

fixed in 7d1987e

wrapped all component interaction collectors (readyCol, pickCol, banSelectCol, banOrderCol, roll collector) in try/catch. errors now reply ephemerally to the user who triggered the interaction via a new replyWithError helper that handles both the replied and deferred cases. also fixed the existing pick phase catch block which was incorrectly sending the error to the original slash command interaction instead of the button/select interaction.

sign up or login to add to the discussion
Labels
improvement
bot
assignee

None yet.

Participants 1
AT URI
at://did:plc:oudt4t7nodtb6yb7gkg4mdsr/sh.tangled.repo.issue/3mi3rpaqx522g