10 Replies
I needa change my dc acc which is linked to my mechakeys, its my old one I wanna link this one
wrong robo 💀 lul
@robo
@robo
og account: @SubPlAysss
some more proof
and am logged in
@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).Goddam yap
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