embed icon indicating copy to clipboard operation
embed copied to clipboard

Discord-invite emulation?

Open Andre601 opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Describe the solution you'd like This is not directly related to the embed, crate or widgetbot in general, but I feel like it would fit nicely as a feature for widgetbot to offer.

The idea is to offer an API endpoint that, when provided with a server ID through the URL, would return a HTML (Or SVG? they do support clickable parts iirc?) widget that emulates/represents a Discord invite with the server count, icon, etc.

Example using a static HTML and CSS solution: image

This would be a great addition to have for websites alongside the crate and/or embed of widgetbot to give a more discord-like feel to the visitor.

Maybe even offer alternative versions like a single SVG or PNG version that can be embedded in readmes and alike?

Describe alternatives you've considered The only alternative I can consider is having some HTML and CSS setup yourself. While this may be a good idea would it be hard to come by because there aren't really any examples of how to do those... I so far only found one example that worked, and even that came with downsides such as not-updating member count.

Additional context

Andre601 avatar Aug 19 '21 23:08 Andre601

Nice idea, we'll be looking into this!

Yomanz avatar Sep 08 '21 11:09 Yomanz