Skip to content

Conversation

mrsolarius
Copy link
Contributor

This PR increases the speed of loading embed menu when no reaction change between two. It's possible because when no reaction change they are no need to call addReactions() and this method take 0,2 to 0,7 second to be executed multiply by number of emoji.
So, I have to convert reactionsChanged var to a class attribute and I use it to not call addReactions() on setPage() method

I also update dependency version to be able to correctly generate the documentation.

Finally, I have regenerated docs and code distribution

@mrsolarius mrsolarius changed the title [Feature] increase menu load speed when no emoji change beetween to pages [Feature] increase menu load speed when no emoji change beetween two pages Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant