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

Some channels are still considered onboarding ones even after disabling community mode #7296

Open
fgRuslan opened this issue Dec 3, 2024 · 1 comment
Labels

Comments

@fgRuslan
Copy link

fgRuslan commented Dec 3, 2024

Description

Some channels are somehow still considered onboarding ones, which makes me unable to remove the "view channel" permission from @everyone for these channels. If I try to remove the "view channel" permission in the app, the switch just turns back on after I hit the "save changes" button. If I use an API, it gives me an error "400 Bad Request (error code: 350003): Onboarding channels must be readable by everyone".

Although I have disabled community mode for my server, "onboarding channels" are still a thing as I can see, which is not correct.

Steps to Reproduce

831227074182119471 is the one of the channels that I experience issues with, 831227074160754698 is the ID of the @everyone role on the guild, 1024 is the view channel permission. The guild that is affected by the issue has ID of 831227074160754698.

The cURL request that i'm trying is:

curl -X PUT "https://discord.com/api/v10/channels/831227074182119471/permissions/831227074160754698" \
     -H "Authorization: Bot MY_DISCORD_BOT_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"deny": 1024}'

The response is:

{"message": "Onboarding channels must be readable by everyone", "code": 350003}

Expected Behavior

I expect the channel to become hidden for @everyone.

Current Behavior

I get an error if I use my bot to change permissions for this channel (using curl or a python script using discord.py library) or if I try to do it from the app.

Screenshots/Videos

No response

Client and System Information

API v10

curl 7.82.0 (x86_64-w64-mingw32) libcurl/7.82.0 OpenSSL/1.1.1n (Schannel) zlib/1.2.12 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libssh2/1.10.0 nghttp2/1.47.0
Release-Date: 2022-03-05

discord.py v2.3.1

@fgRuslan fgRuslan added the bug label Dec 3, 2024
@fgRuslan
Copy link
Author

Anyone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant