disnake icon indicating copy to clipboard operation
disnake copied to clipboard

Add `on_raw_presence_update` event

Open jaymaart opened this issue 2 years ago • 0 comments

Summary

an event like such that doesn't require the members to be cached

What is the feature request for?

The core library

The Problem

The problem with this event in itself if the amount of ram it uses due to caching members and such. I was talking with others and it seems you don't actually need cached members for this event to be triggered as discord always sends the new updated presence for the member. The cache is only required to access the old status which is some use cases is valid but not all.

The Ideal Solution

Similar to how other raw events work this would be the same and the status before the update would just be none if member isn't in cache.

The Current Solution

N/A

Additional Context

This is just one of those things that would be really nice.

jaymaart avatar Jan 16 '24 23:01 jaymaart