Skip to content
New issue

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

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

Already on GitHub? # to your account

Move ChannelCache to DMChannelCache #554

Closed
wants to merge 2 commits into from
Closed

Conversation

jb3
Copy link
Collaborator

@jb3 jb3 commented Apr 19, 2024

Since we modified the behaviour of the DMChannelCache to only cache DM Channels it is a good idea to amend the naming of the cache itself to avoid confusion, as well as fleshing out the documentation to further make it clear how caches are expected to operate.

Closes #537

@jb3 jb3 force-pushed the jb3/dm-channel-cache branch from a518059 to 297cd1d Compare April 19, 2024 21:39
@jb3
Copy link
Collaborator Author

jb3 commented Apr 19, 2024

Closing this since we have realized this PR can never populate. CHANNEL_CREATE is only sent for guild channels and private_channels is no longer sent for Bot users.

I will re-open a PR removing this cache.

@jb3 jb3 closed this Apr 19, 2024
@jb3 jb3 deleted the jb3/dm-channel-cache branch April 19, 2024 22:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ChannelCache documentation enhancements
1 participant