-
Notifications
You must be signed in to change notification settings - Fork 4
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
Discord Integration: Shorter Links or Bot-based Embeds [enhancement] #67
Comments
I think you might be overthinking the URL shortening abuse prevention mechanic. Regardless, here's what I thought of: You're right - it's too long - but what about other ways to prevent this?
About 20% shorter. Not much better, but prevents a need to also turn xenpaper into a url shortener. |
Problems:
Solution ideas:
Shorten links with services like TinyURL. Limitation: they only allow 600 links per month via their API with the free package.
Discord bot to post the Embedded link. (Users can't post embedded links, but bots can, and thereby shorten the post length and allow xenpaper scripts longer than a user's post length limit)
Small DB caching the recently copied links; reformat the copied links to use a shortened URL. Limit stored links per IP so that one person can't mash the copy button 10,000 times and hog the entire cache. Probably the easiest approach...
...while this is a low-impact enhancement right now, it could be nice longer term if xenpaper gains more functionality and more popularity.
The text was updated successfully, but these errors were encountered: