-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I believe |
Beta Was this translation helpful? Give feedback.
-
If someone has the same question, you should know that to be sure that the cache contains the old state, the handler must be synchronous. |
Beta Was this translation helpful? Give feedback.
-
There's a good example of this in undeleter. |
Beta Was this translation helpful? Give feedback.
I believe
PreHandler
is what you're looking for. It's executed before the cache is updated, so you'll be able to get the old voice state. The undeleter example shows how it can be used.