-
-
Notifications
You must be signed in to change notification settings - Fork 475
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
Apply filter to attachments #1404
Comments
Currently if the solution in #1403 is applied the link will be send regardless if the image is uploaded by the poster. the filter dies apply if the poster sends the link to the image. |
This appears to still be a problem. My hunch is that it might be due to the text being sent in a separate "message" which is not the text of the message a Discord user sends. It might depend on HOW the link is sent - my test was to copy an image in Windows and paste it while composing a Discord message, which triggers some kind of dynamic upload. I have applied a regex filter to completely wipe out any line that contains "http" and yet file URLs are still sent to chat. See screenshots |
Should be fixed on latest snapshot builds. https://snapshot.discordsrv.com/ |
Why?
as seen in issue #1403
"Possible to config certain messages to default ones / remove long discord Picture image link messages inside Minecraft"
Images get send as long text messages.
What and How?
Adding uploaded files to the DiscordChatChannelDiscordFilters
Are there alternatives?
Make a specific function that can filter discord files
Checks
Anything else
thanks to chrissamael for the specification of the problem
The text was updated successfully, but these errors were encountered: