mchangrh / sb-slash

Sponsorblock with discord slash commands
https://sb-slash.mchang.workers.dev/invite
GNU General Public License v3.0
7 stars 6 forks source link

Validate input given to /vip subcommands #49

Closed mini-bomba closed 2 years ago

mini-bomba commented 2 years ago

I've noticed that /vip addvip (and some other /vip subcommands) don't validate input. This PR adds the necessary checks to make sure less invalid requests are made and allows videoID parameters to accept video links. The changes are explained further in the commit message.