Skip to content
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

Open
2qar opened this issue Jan 10, 2020 · 0 comments
Open

Sync status for logged in user between official client and cordless #231

2qar opened this issue Jan 10, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@2qar
Copy link
Contributor

2qar commented Jan 10, 2020

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 with discordgo.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.

@Bios-Marcel Bios-Marcel added the bug Something isn't working label Feb 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants