victornpb / undiscord

Undiscord - Delete all messages in a Discord server / channel or DM (Easy and fast) Bulk delete
https://victornpb.github.io/undiscord
MIT License
5.25k stars 718 forks source link

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

Open ioNetrunner opened 1 year ago

ioNetrunner commented 1 year ago

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

Additional information & file uploads

image

wtweeku commented 1 year ago

any updates on this?

theSoberSobber commented 5 months ago

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

false-fox commented 3 months ago

Fixed in #629 :)