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

Auto-Hastebin is too aggressive #48

Open
aki-art opened this issue Apr 20, 2024 · 1 comment
Open

Auto-Hastebin is too aggressive #48

aki-art opened this issue Apr 20, 2024 · 1 comment

Comments

@aki-art
Copy link

aki-art commented Apr 20, 2024

It created a hastebin from this message: https://hst.sh/onadozajiw.cs

This only made my message harder to read, that is a very small code snippet. Please tone down how big code snippets it considers clutter, for small bits of code it is unnecessary to make people open a web browser.

Or alternatively, don't bother deleting the original message, Discord already truncates long blocks of code for a while now. A hastebin link could still be neat for those who prefer it.

@Jofairden
Copy link
Member

https://github.com/tModLoader/tModLoader-Discord-Bot/blob/main/Services/HastebinService.cs#L79

Feel free to improve the heuristics for this feature here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants