Open incognico opened 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.
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.