check if bot is user installed (or check if dm permission without sending a message)

Hi is there a way to check if the bot is user-installed? I'd like to make a reminders userbot command that sends you a dm when the reminder's due. The only solution i've seen so far is to send a dm to someone but i'd prefer not double dms (one when running the command and one when the reminder's finished.)
5 Replies
d.js toolkit
d.js toolkit2w ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
d.js docs (dev)
:property: BaseInteraction#authorizingIntegrationOwners [email protected] Mapping of installation contexts that the interaction was authorized for the related user or guild ids
jsw
jswOP2w ago
Damn it looks like i've been searching under the wrong names. Thank you!
NyR
NyR2w ago
Check if the key contains UserInstall (1) ^
jsw
jswOP2w ago
<3
Want results from more Discord servers?
Add your server