vsTerminus / Mojo-Discord

Perl Modules that implement parts of the Discord API. Intended for Text Chat Bots.
MIT License
33 stars 10 forks source link

Mojo::URL for urls #28

Open incognico opened 4 years ago

incognico commented 4 years ago

https://github.com/vsTerminus/Mojo-Discord/blob/51d15e1ec1d91309115d293649d46a237eb236d1/lib/Mojo/Discord/Gateway.pm#L314

Here Mojo::URL could be used to build the URL instead of string concat. Same in REST.pm. In REST.pm there are/will also functions which take query string params.