Monday, 29 May 2017

Discord.js get user connections as bot

Hey I'm trying to make a bot that will check user's connected battle.net account and load game rank. I'm using discord.js library and trying to acccess UserProfile via bot, which isn't allowed since you can't .fetchProfile(). Based on discord.js I'm only allowed to check UserProfile and then connections this way. My question is: is there any way for bot to load user's connected accounts ? I only need battle.net tag that user verified and connected to discord account.

User: https://discord.js.org/#/docs/main/stable/class/User

UserProfile: https://discord.js.org/#/docs/main/stable/class/UserProfile

Thanks a lot !



via blx

No comments:

Post a Comment