dbm-network / mods

User-made modifications and improvements to Discord Bot Maker.
https://dbm-network.github.io
MIT License
166 stars 202 forks source link

Set Role Voice Channel Permissions needs a rework #873

Closed Sneethan closed 2 years ago

Sneethan commented 2 years ago

Discord Bot Maker version (master branch only supports the beta 2.0.x)

Describe the bug Many parts of Set Role Voice Channel Permissions are not working as intended. These include: When using First server role on a temp var for the vc, it ends the interaction sequence, thus breaking slash commands. and when trying to set the permissions based on the command user's VC it sets it for the text chat instead of the voice chat.

To Reproduce Steps to reproduce the behavior:

  1. Make a new slash command
  2. Add a set role voice channel perms, or add a store member info before if you want to test the first bug as command user vc doesnt work. Then set it to first server role and deny connect permissions.
  3. Run the command.
  4. See errors

Expected behavior The permissions for the specified role will be adjusted without the interaction sequence ending, allowing me to send a confirmation message.

Screenshots If applicable, add screenshots to help explain your problem. image

Error messages If there was an error message please put it here. (plain text) Error with the Command "voice lock" - Action #9 (Send Message): DiscordAPIError: Interaction has already been acknowledged.

Morugar commented 2 years ago

It's 100% of truth. Don't work tho. Nothing happend when try to change permissions

DetroitWhiskey136 commented 2 years ago

Will be updating this later this week hopefully. #878