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 channel cache lock handling #2795

Merged
merged 3 commits into from
Jan 26, 2025
Merged

Conversation

MinnDevelopment
Copy link
Member

@MinnDevelopment MinnDevelopment commented Jan 25, 2025

Pull Request Etiquette

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Closes #2756

Description

Changes the order of cache checks, using the guild as the source of truth. This means that whenever a channel is created, it will definitely be in the guild's cache. If a channel is created in an uncached guild, the channel.getGuild() automatically updates its reference to a cached guild anyway.

@MinnDevelopment MinnDevelopment merged commit e81e8c3 into master Jan 26, 2025
1 check passed
@MinnDevelopment MinnDevelopment deleted the fix/channel-cache-locks branch January 26, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Button interactions randomly failing after some time
1 participant