simmsb / calamity

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

activity type fix #28

Closed Kaptch closed 3 years ago

Kaptch commented 3 years ago

Activity type fix (Custom). Activity type is encoded as a number with values 0, 1, 2, 4. https://discord.com/developers/docs/game-sdk/activities#data-models-activitytype-enum It seems that this PR resolves the issue #27, but it's still a little bit odd that only the Guild Create event was affected.

simmsb commented 3 years ago

Ah I see, it makes sense since parsing the member statuses in the guild create event would fail. Thanks.