AardWolf / aardcogs

Cogs for Discord-Red
MIT License
4 stars 4 forks source link

Commands that accept numbers should accept URLs #160

Open AardWolf opened 4 years ago

AardWolf commented 4 years ago

Short url such as: http://untp.beer/gLx9G

Results in a 302 response with a response header of

Location: https://untappd.com/user/Aardwolf98/checkin/833479369

Which is a checkin.

Beer link looks like: ``

Results in a 302 response with a response header of

Location: https://untappd.com/b/traders-brewing-company-roasted-and-french-toasted-coffee-porter/3478240

Which is a beer.