RainCache icon indicating copy to clipboard operation
RainCache copied to clipboard

GUILD_CREATE should remove inactive/remove voicestates/channels members

Open Qwiko opened this issue 3 years ago • 3 comments

There are some scenarios where the cache are not updated with voicestates.

If the gateway have been closed and voicestates/channels deleted the cache does not update correctly after the next guild_create event.

Guild_create event should remove and recreate all channel/members/role/voicestates for that guild.

Qwiko avatar Jan 10 '22 12:01 Qwiko

Definitely an oversight on my part. I'll add some logic to overwrite voice states on guild_create when I find some time

PapiOphidian avatar Jan 10 '22 21:01 PapiOphidian

It's been a bit of time. Just letting you know this is still being worked on. I haven't used RainCache personally for a while, so there was a conflict of interest, but I'm working on a major version which should be released as soon as possible

PapiOphidian avatar Aug 19 '22 02:08 PapiOphidian

Looks like I accidentally forgot to include changes to voice states in v0.6. Sorry about that. I debated on making voice states a global index versus being per guild similar to presences

PapiOphidian avatar Jan 23 '23 16:01 PapiOphidian