Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] GetMessagesAsync with Direction.After not working as expected #2744 #2745

Merged
merged 2 commits into from
Aug 10, 2023
Merged

Conversation

josago97
Copy link
Contributor

@josago97 josago97 commented Aug 8, 2023

Calling the GetMessagesAsync method with Direction.After worked correctly in case the messages cache is empty. However, when used inside a method called by command, it stops working correctly due to cache misuse. The code has been modified to contemplate the different cases that we can find in this situation and that it works correctly.

@Misha-133 Misha-133 merged commit c922497 into discord-net:dev Aug 10, 2023
3 checks passed
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.

3 participants