discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

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

Open fgRuslan opened this issue 1 year ago • 9 comments

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 avatar Dec 03 '24 12:12 fgRuslan

Anyone?

fgRuslan avatar Dec 23 '24 20:12 fgRuslan

still an issue

fgRuslan avatar Jan 10 '25 13:01 fgRuslan

I have the same issue

jerem2772 avatar Jan 21 '25 12:01 jerem2772

Same issue

meillumination avatar Jan 29 '25 20:01 meillumination

Not sure how this hasn't been solved yet.. this is extremely annoying

JovannMC avatar Feb 02 '25 03:02 JovannMC

Humor me: is it because the channel is used as a task? I had an issue with this previously and the fix was to adjust the tasks to point to a differing channel than the one I wanted to change.

karm235 avatar Mar 09 '25 01:03 karm235

@DV8FromTheWorld Hope to see any updates on this. Same issue for several months now.

wthks avatar Mar 17 '25 21:03 wthks

Same problem here.

JMalland avatar Apr 23 '25 03:04 JMalland

I suspect the issue is that Onboarding, once enabled, requires you to set three to-dos for each member upon joining. Additionally, you can set specific resource pages (i.e. rules, help, support).

As far as I can tell for my server, the channels causing problems are within the list of resource channels and to-do tasks. This is even after disabling Onboarding. I cannot remove any of the 3 tasks, because Onboarding requires that 3 be set. And for some reason, I can't edit the resource pages. It tells me "Invalid Channel" even though the selected ones are currently available to everyone.

JMalland avatar Apr 23 '25 03:04 JMalland