Simple Discord.js Link Shortener Bot utilizing Firebase Dynamic Links .
Usage: /short <link> <option>
short
: your long link. e.g. https://www.youtube.com/watch?v=dQw4w9WgXcQanM
option
: optional specify whether the link should be short or unguessable. Accepted value: {SHORT, short} (or just don't specify), {UNGUESSABLE, unguessable, unguess, random}
Note: Yeah I know procedure of adding option when using command is a bit tricky and annoying. I don't like it either.
see Wiki.