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

Feature request: hide inaccessible channels #254

Closed
acid-bong opened this issue Oct 25, 2022 · 7 comments
Closed

Feature request: hide inaccessible channels #254

acid-bong opened this issue Oct 25, 2022 · 7 comments
Labels
feat New feature or request good first issue Good for newcomers

Comments

@acid-bong
Copy link

acid-bong commented Oct 25, 2022

OS: Artix Linux
Discordo: built from master commit 02a8dbd (HEAD as i'm writing this)

I've been checking my servers and on every server (where they exist, presumably) in the channel list i started seeing channels i should not be able to see - channels for mods, patrons etc (i'm neither of those anywhere). When selected, the content, luckily, isn't revealed; i didn't risk* trying to send a message in one. Either Discord's API isn't as bulletproof, or discordo is too invasive.

Other clients: haven't compared, but i don't remember that issue from the past.

@7m0E7TRWiyc7eJlETAgDR-rp6HLJf2yvSnJLuQL
Copy link

I have experienced this as well. And I have been using cordless, a defunct TUI client for testing purposes, and I can confirm that the hidden channels do not show up in it.

@ghost ghost added feat New feature or request good first issue Good for newcomers labels Nov 1, 2022
@AveragePythonEnjoyer29
Copy link

same issue, could be easily fixed by simply skipping those channels (or maybe making it an option for the people who want to do some epic trolling?)

@txtsd
Copy link

txtsd commented Nov 6, 2022

They are exposed via the API. The client chooses whether or not to show them.

@ayn2op
Copy link
Owner

ayn2op commented Dec 21, 2022

You cannot successfully send a message in an inaccessible channel, but they are returned by the API; so it is not Discordo being evasive, but the Discord API. I do agree that Discordo should ignore the inaccessible channels by checking that whether the client user has the permission to read messages in that channel like the official client, this should be fairly easy to implement.

@apprehensions
Copy link
Contributor

nooo not my heckin hidden channels i wanna see what they do be hiding

@ayn2op ayn2op changed the title Channel list reveals names of unaccessible channels (mod- or patron-only) Feature request: hide inaccessible channels Jan 25, 2023
@ayn2op ayn2op closed this as completed in 43234d4 Jan 25, 2023
@apprehensions
Copy link
Contributor

can we unironically have a plugin that disables this

@ayn2op
Copy link
Owner

ayn2op commented Jan 25, 2023

can we unironically have a plugin that disables this

Plugins are not supported yet, but if and when they are, you should be able to easily disable this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

6 participants