Skip to content

be able to autofill thread channel id and only delete messages in that thread #610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

scratchusernamemrtbts
Copy link

checks whether the current channel is a thread or not
if it's a thread then searches using the parent channel id and filters out messages not in the thread when deleting
if it's not a thread then uses the id in the url and deletes like normal

@scratchusernamemrtbts
Copy link
Author

example (ignore debug logs)

Screen.Recording.2567-03-21.at.20.47.00.mov

kazuki-tetsuya added a commit to kazuki-tetsuya/Undiscord that referenced this pull request Nov 15, 2024
- Resolved ESLint issues and addressed invalid header warnings (victornpb#663).
- Implemented autofill for thread channel IDs and restricted message deletion to the corresponding thread (victornpb#610).
- Clarified that omitting a time will disable the date filter functionality (victornpb#643).
- Added a filter to exclude messages containing files or attachments (victornpb#642).
- Fixed various autofill issues (victornpb#631).
- Stopped execution when there are remaining messages (victornpb#619).
- Addressed API errors related to the Wipe Archive Feature (50024 - 50021) (victornpb#603).
- Implemented a workaround for slow search index refreshing (victornpb#584).
@victornpb victornpb added feature-implemented PR looks good Looks like it's good for merging (maybe be in the next release) PR needs further testing labels Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-implemented PR looks good Looks like it's good for merging (maybe be in the next release) PR needs further testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants