invidget
invidget copied to clipboard
SVG invite widgets that look just like the ones on the Discord client!
Closes #56
Also maybe create a way to disable the invite background in the url. 
Friend invites are now available via the API, and may be released soon in the client. Currently, invidget just times out, rather than properly displaying the friend invite.  ex:...
When `?format=` is present, it'll automatically convert the image to one of the two formats. If not specified, will return a SVG image. + Closes #40
It would be cool that if someone added `?format=png` to the end of the URL, the image is automatically converted to a PNG file. I might do a PR later...
After Japanese support was added in #9, I've noticed that the renderer doesn't handle special characters correctly. **Example:** `https://invidget.switchblade.xyz/discord-developers?language=ja` 
Guess what? yeah, axios on this too https://github.com/SwitchbladeBot/invidget/blob/4a93050cbad1a4101f80b6ceae92911442b571d7/src/Discord.js#L8
Currently invisible portions of server icons get some strange outline around them when the normal invite widget just displays the normal background. **Invidget:**  **Discord widget:** 
Discord displays a text acronym for invites without icons, and we shoud mimic that behavior. ### Discord  ### invidget 