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

Missing Manage Webhook Permission Toggle in TiV Channel

Open dzlandis opened this issue 1 year ago • 0 comments

Description

I'll start off by saying this is more of a client side bug, but is effects developers and breaks functionality because users cannot easily fix it.

There is no Manage Webhook permission toggle in text in voice channels (aka, normal voice channels). This means, the Manage Webhook permission can only be controlled through a category and cannot be controlled directly through the channel. This is a problem for many reasons.

For example, I had a user come into the support server for my bot complaining about how my bot was erroring "Needs Manage Webhook permission" in a TiV (text in voice) channel. Since they were using a TiV channel, there was no way for me to enable or disable the Manage Webhook permission without me putting the channel in a category. At the time, I did not know this was the issue which led me to find out that there is no way to toggle this permission directly for that one channel. It is likely that the category the channel was originally in had disabled the Manage Webhook permission for the channel, but since it was moved out of that category, it was unclear to how the permission was disabled in the first place because there was no toggle. With no way to turn it back on without putting it in a category, this caused some big issues and a lot of confusion.

This issue made it incredibly unclear for the user as to why the bot didn't have permission. The fact that my bot had the Manage Webhook permission and the correct overall server perms (as displayed through the integration tab and the server permissions tab) made this incredibly confusing for both me and the user to solve.

A fix to this issue would simply be adding an indicator of whether the Manage Webhook permission is on or not directly within the TiV channel.

Steps to Reproduce

  • Create a category with a voice channel inside of it.
  • Disable the Manage Webhooks permission for the @ everyone permission via the category, and sync it with the voice channel.
  • Observe that the Manage Webhook permission is disabled for the TiV channel with no indicator or toggle available in the channel itself (you'll have to check via the API).
  • Move the TiV channel outside of the category so it is not in any category at all.
  • Observe that the Manage Webhook permission is still disabled for the TiV channel with no indicator or toggle available in the channel itself (you'll have to check via the API).

Expected Behavior

I would expect for there to be a toggle via the client side of things to indicate whether the Manage Webhook permission is on or off directly within the TiV channel permissions.

Current Behavior

There is no toggle via the client side of things to indicate whether the Manage Webhook permission is on or off directly within the Tiv Channel permissions. This makes it incredibly unclear to the client side user if the Manage Webhook permission is on or off for the TiV channel and causes confusion as to why some bot webhooks don't work.

Screenshots/Videos

Here's a video which walks through the steps to reproduce so you can see the problem:

https://user-images.githubusercontent.com/49926644/186033577-e6dc639a-f905-49e7-9ff1-50533dde1c4c.mp4

Client and System Information

Bot: Discord.js v14 Latest NodeJS v16 LTS

PC Test: Stable 142995 (adcce46) - Windows 10 64-Bit (10.0.19044)

Mobile Test: 140.17 - r0q (SM-S901U) - Galaxy S22 Android 12

The issue was apparent on both Windows PC and Android Mobile.

dzlandis avatar Aug 22 '22 23:08 dzlandis