undiscord icon indicating copy to clipboard operation
undiscord copied to clipboard

Slash Commands are being reported as belonging to user but can't be deleted.

Open ioNetrunner opened this issue 1 year ago • 3 comments

Undiscord Version

5.2.0

Browser

1.49.128 Chromium: 111.0.5563.110 (Official Build) (64-bit)

Extension

TamperMokey

Reproduction steps

Click Trash icon to bring up Undiscord. Click me button to grab token. Click current button to grab Server ID token. Click >Delete button.

Actual results

Undiscord tries to grab all messages by user including slash commands for bots, which the user can not delete. Error deleting message, API responded with status 403! {"message":"Missing Permissions","code":50013}

Expected results

Slash commands are ignored.

Bug affects

  • [ ] DMs
  • [ ] DMs (group)
  • [X] Channels
  • [X] Channel (NSFW)

Additional information & file uploads

image

ioNetrunner avatar Mar 26 '23 18:03 ioNetrunner

any updates on this?

wtweeku avatar Jun 07 '23 14:06 wtweeku

hey so I made a fork for anyone interested https://github.com/theSoberSobber/slash-command-fixed-undiscord/blob/master/fixed-total.js

theSoberSobber avatar Mar 31 '24 21:03 theSoberSobber

Fixed in #629 :)

false-fox avatar May 21 '24 17:05 false-fox