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: permissions checks for threads #34

Merged
merged 1 commit into from
Feb 24, 2022
Merged

fix: permissions checks for threads #34

merged 1 commit into from
Feb 24, 2022

Conversation

Skelmis
Copy link
Contributor

@Skelmis Skelmis commented Feb 22, 2022

Essentially the current implementation doesn't check if the user (bot) can send messages in a thread correctly.

This change means if the channel is a thread we check the thread send permissions rather than parent channel permissions. Think for example next cord help threads

Close #28

@DenverCoder1 DenverCoder1 changed the title Fix inaccurate permissions checks fix: permissions checks for threads Feb 24, 2022
@DenverCoder1 DenverCoder1 merged commit 56e9e4c into nextcord:master Feb 24, 2022
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.

Menus break in threads
2 participants