Skip to content
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

💡 Add message content variable #116

Open
MarcusOtter opened this issue Mar 21, 2022 · 3 comments
Open

💡 Add message content variable #116

MarcusOtter opened this issue Mar 21, 2022 · 3 comments
Labels
good first issue 💚 Good for new contributors improvement 💡 Improvement suggestion

Comments

@MarcusOtter
Copy link
Owner

Describe the improvement

Luzifer Senpai#7762 on Discord:

Can we eventually get a option to add the original user message as a text? So that, when we archive a thread and eventually delete the message(to remove clutter from the channel) we still see the message for us admins.

Problems this improvement solves

Some people want to move the messages to the thread when it's created. This would give them an option to do so.

Alternative solutions

No response

@MarcusOtter MarcusOtter added the improvement 💡 Improvement suggestion label Mar 21, 2022
@MarcusOtter
Copy link
Owner Author

Not planned as Needle is supposed to do auto-threading. If you want a channel with only threads (but no starting messages), set the permissions to not allow messages but allow new threads to be made. Might be added in the future if there's a good case for it, but not planned right now.

@MarcusOtter MarcusOtter closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2022
@MarcusOtter
Copy link
Owner Author

Aha, but there is a use case: seeing you are typing you title regex on.

From DoNotResuscitate#8265 on Discord:

Is there any way to see the whole message that needle is parsing?
If I wanted to try and also pull out time info I'm not entirely certain how to whole modal is being spit out to be parsed

We should add this and if the message content ends up being more than 2k, just cut it off and add an elipse.

@MarcusOtter MarcusOtter reopened this Sep 1, 2022
@MarcusOtter
Copy link
Owner Author

It also makes it easier for people to put the NICKNAME - MESSAGE CONTENT in the title without having to use regex. Today you would have to write something like $USER_NICKNAME - /^[\S\s]*/i, but with this they could write something like $USER_NICKNAME - $MESSAGE_CONTENT.

@MarcusOtter MarcusOtter added the good first issue 💚 Good for new contributors label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue 💚 Good for new contributors improvement 💡 Improvement suggestion
Projects
None yet
Development

No branches or pull requests

1 participant