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
- 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:property: BaseInteraction#authorizingIntegrationOwners
[email protected]
Mapping of installation contexts that the interaction was authorized for the related user or guild idsDamn it looks like i've been searching under the wrong names. Thank you!
Check if the key contains
UserInstall
(1) ^<3