shuppet / raku-api-discord

Raku module for interacting with the Discord API.
https://shuppet.com
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

fetch returns the object, but the others return the Cro promise #37

Open Altreus opened 4 years ago

Altreus commented 4 years ago

In HTTPResource, fetch behaves differently. Arguably, correctly.

I think I would prefer if all HTTPResources returned themselves rather than exposing the Cro-level HTTP communication.