Closed sudojunior closed 2 years ago
Any attempt to send a DM message for a response can be met with a fatal error due to unhandledException if the target user has blocked the bot itself or not permitting DMs from any server / guild the bot shares with the target user.
unhandledException
accept component
accept
https://github.com/TinkerStorm/interaction-prototypes/blob/232ff467bb4ad6c4a11c45c3db7bfeca2437182f/src/components/accept.ts#L46-L59
decline component
decline
https://github.com/TinkerStorm/interaction-prototypes/blob/232ff467bb4ad6c4a11c45c3db7bfeca2437182f/src/components/decline.ts#L23-L33
Any attempt to send a DM message for a response can be met with a fatal error due to
unhandledException
if the target user has blocked the bot itself or not permitting DMs from any server / guild the bot shares with the target user.accept
componenthttps://github.com/TinkerStorm/interaction-prototypes/blob/232ff467bb4ad6c4a11c45c3db7bfeca2437182f/src/components/accept.ts#L46-L59
decline
componenthttps://github.com/TinkerStorm/interaction-prototypes/blob/232ff467bb4ad6c4a11c45c3db7bfeca2437182f/src/components/decline.ts#L23-L33