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

[Reacticket] Users and Support role can not see ticket messages - Read Message History permissions #66

Open
CruxCraft opened this issue Nov 1, 2021 · 0 comments

Comments

@CruxCraft
Copy link

CruxCraft commented Nov 1, 2021

the user creating the ticket & the added support role do not have "Read Message History" permissions

Might it be possible instead to just copy the "everyone" permissions from the open ticket category, but then set "View Channels" to deny? This way the admin could decide what permissions the user has by just adjusting the category.

If all the roles/users from the category were synced that would be even more ideal =]

EDIT:

        overwrites = {
            guild.default_role: discord.PermissionOverwrite(read_messages=False, read_message_history=True),
            guild.me: can_read_and_manage,
            user: can_read,
        }

I tested & it works
I don't know if my pull request I did for the other issue with channel names also contains this. I think it does? First time doing this...

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

No branches or pull requests

1 participant