simmsb / calamity

A library for writing discord bots in haskell
https://hackage.haskell.org/package/calamity
MIT License
109 stars 11 forks source link

no way to upgrade Snowflake Role to Role #32

Closed ghost closed 3 years ago

ghost commented 3 years ago

there doesn't seem to be any way to go from a Snowflake Role to a Role; they're not Upgradeable and there's no GetGuildRole GuildRequest. my current workaround for now is invoking GetGuildRoles and picking out the role by id

simmsb commented 3 years ago

Yup, I've added these in as of 22713b8, it'll be up on hackage under the version 0.1.24.0 when the CI finishes.

ghost commented 3 years ago

gotcha, thank you!