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] Permissions issue #46

Open
Zenchaeus opened this issue Mar 15, 2021 · 4 comments
Open

[Reacticket] Permissions issue #46

Zenchaeus opened this issue Mar 15, 2021 · 4 comments

Comments

@Zenchaeus
Copy link

Users can't view message history which can cause a lot of problem when they don't have their app open or they leave.
image

@cry8wolf9
Copy link

i got around this by enabling read message history and disabling view in category settings then letting the bot handle the perms for the channel itself

@CruxCraft
Copy link

i got around this by enabling read message history and disabling view in category settings then letting the bot handle the perms for the channel itself

Doesn't seem to be working for us, as it isn't copying the category permissions

The only work around would be to completely change all of our categories and channels setups, and then change it so on our server everyone can read message history by default, which isn't happening as it would break functionality of our server

@fawkinay
Copy link

fawkinay commented Nov 2, 2021

can_read = discord.PermissionOverwrite(read_messages=True, send_messages=True)

Adding read_message_history=True to discord.PermissionOverwrite() on line 377 appears to resolve the issue of users not being able to see the bot message in a newly created ticket channel since it gives the "Read Message History" permission to the ticket owner and ticket managers.

@CruxCraft
Copy link

CruxCraft commented Nov 2, 2021

can_read = discord.PermissionOverwrite(read_messages=True, send_messages=True)

Adding read_message_history=True to discord.PermissionOverwrite() on line 377 appears to resolve the issue of users not being able to see the bot message in a newly created ticket channel since it gives the "Read Message History" permission to the ticket owner and ticket managers.

Just saw this, but I ended up fixing it this morning... line 383 & I sent a pull request for it...

Edit: I just looked at the line you pointed out, and I don't think that would get each person that requires it... I might be wrong... However Line 383 already sets the default read to false but adding history true let's everyone else who has the permission to view see the history...

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

4 participants