Skip to content

Cannot delete if "int" value greater than 9999 #640

Open
@sudoAlphaX

Description

Undiscord Version

5.2.3

Browser

Mozilla Firefox 127.0.1

Extension

Tampermonkey v5.1.1

Reproduction steps

  1. Install the Undiscord userscript following the instructions from README
  2. Open the DM you want to delete
  3. Click on the autofill buttons next to Author ID, Server ID, Channel ID and Authorization token
  4. Click delete button

Actual results

Messages fail to delete after 9999 search limit.
Error produced:

Error searching messages, API responded with status 400!
	{"message":"Invalid Form Body","code":50035,"errors":{"offset":{"_errors":[{"code":"NUMBER_TYPE_MAX","message":"int value should be less than or equal to 9975."}]}}}
CoreException	{}

Expected results

Messages deleted even after 9999 messages

Bug affects

  • DMs
  • DMs (group)
  • Channels
  • Channel (NSFW)

Additional information & file uploads

Search delay has been set to 7500 ms and I wasn't rate limited.
I used the pattern field to use regex matching to delete particular messages. The expression was in this format: (word1|word2|word3)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions