This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
Sync status for logged in user between official client and cordless #231
Labels
bug
Something isn't working
What do you want
Sync status between mobile, desktop Discord clients and the logged in user in cordless.
Why
It does this by default between the mobile and desktop clients when you change your status, so matching that in cordless would be nice.
Implementation hints
Status and custom status are stored in a
discordgo.Settings
, which is kept in the state for cordless's discordgo session. I'm pretty sure the settings stored in discordgo's state are never updated, so doing something like grabbing a fresh copy withdiscordgo.Session.UserSettings()
on a set interval could keep it updated. Maybe there's a better way to do it, but that's the first thing that comes to mind.The text was updated successfully, but these errors were encountered: