grottohub / glyph

A purely Gleam Discord library built from the ground up with stratus.
28 stars 5 forks source link

implement actor for REST API interactions #2

Closed grottohub closed 8 months ago

grottohub commented 8 months ago

for a better UX when constructing and using a BotClient, I would like the REST client to also be an actor, that way the bot supervises both a WebSocket actor and a REST actor, allowing for a more seamless interaction between the two compared to what it is now.