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.19k stars 716 forks source link

Using "@me" as the server ID causes the error 400 #632

Open radiumatic opened 3 months ago

radiumatic commented 3 months ago

Undiscord Version

v5.2.3

Browser

Chromium: 123.0.6312.58 (Official Build) (64-bit)

Extension

TamperMonkey

Reproduction steps

  1. Tried using the wipe archive feature, it failed with error 400.
  2. Tried redacting channel IDs one by one, did not work, error 400.
  3. Used the fill option to select the current channel, but changed server ID to "@me", resulted in error 400.
  4. Used the previous option, but did not alter the server ID, it worked.

Actual results

Error searching messages, API responded with status 400!
    {"message":"Cannot execute action on this channel type","code":50024}
CoreException   {}

Expected results

Search working and messages being listed.

Bug affects

Additional information & file uploads

I believe the correct solution should either be reading message IDs from directories in the package using File System Access API or fetching the server ID for each channel ID. Unfortunately I am not a JS developer and have even less of an idea how you can get server IDs by channel IDs.

WinterRidozi commented 2 months ago

Delete all saved password in the browser for discord.com (chrome://password-manager/passwords) done. try it

radiumatic commented 2 months ago

Delete all saved password in the browser for discord.com (chrome://password-manager/passwords) done. try it

I have autofill disabled. When did you try this?

WinterRidozi commented 2 months ago

Delete all saved password in the browser for discord.com (chrome://password-manager/passwords) done. try it

I have autofill disabled. When did you try this?

I just tried this yesterday and works. You have to delete all the discord account saved on google autofill. Not disable it

radiumatic commented 2 months ago

Delete all saved password in the browser for discord.com (chrome://password-manager/passwords) done. try it

I have autofill disabled. When did you try this?

I just tried this yesterday and works. You have to delete all the discord account saved on google autofill. Not disable it

There's nothing in autofill, but it still happens.