Skip to content

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

Open
@fgRuslan

Description

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions