M
MechaKeys•4mo ago
smashxr

Unlink Api

@Robo-bot
10 Replies
smashxr
smashxrOP•4mo ago
I needa change my dc acc which is linked to my mechakeys, its my old one I wanna link this one
halu
halu•4mo ago
wrong robo 💀 lul @robo
smashxr
smashxrOP•4mo ago
@robo
halu
halu•4mo ago
og account: @SubPlAysss
smashxr
smashxrOP•4mo ago
some more proof
No description
smashxr
smashxrOP•4mo ago
No description
smashxr
smashxrOP•4mo ago
and am logged in
halu
halu•4mo ago
@robo Note: unlinking feature is still blocked by the fact that: - we use discordLink_1 in @Robo-bot and V2 to determine if user is linked. These sections will have to change to accurately reflect someone link status: - https://github.com/robolab-io/robobot-oss/blob/d63e51a0d8ac20d2d8580036b1a609cd3c6e918c/bot/utils/isLinked.js#L10 - https://github.com/robolab-io/robobot-oss/blob/d63e51a0d8ac20d2d8580036b1a609cd3c6e918c/bot/commands/adminprofile.js#L77 - https://github.com/robolab-io/mechakeys-app/blob/4d47ffc6935dbaa18be231724de0c98fbac1499a/src/stores/rankStore.js#L99 - discordLink_1 is also used to determine achievement claim-ability Solution: - have unlink set discordID to undefined/false/null/'' or something in db - update robobot & V2 to check based on whether discordID is falsey/nullish. - discordID is not provided in getUser api... (prob rightly so) - so we have to edit that api to include an is_linked boolean property based on discordID - leave discordLink_1 untouched (as you suggested).
smashxr
smashxrOP•4mo ago
Goddam yap
halu
halu•4mo ago
updated old pr: - https://github.com/robolab-io/mechakeys-developerAPI/pull/6/commits/a14a5de141636aa616fe9385190e50b1f305d2a9 happy to update discordLink_1 references to is_linked if shipped and update unlink discord cmd can add minigames to pray/daily while im there too ig lemme know
Want results from more Discord servers?
Add your server