discord-haskell icon indicating copy to clipboard operation
discord-haskell copied to clipboard

Changing channel types

Open L0neGamer opened this issue 3 years ago • 13 comments

The Guild Store channel type is no longer a valid type of channel, and guild directory and guild forum are now channel types that can turn up. We should update to reflect this.

L0neGamer avatar Nov 01 '22 19:11 L0neGamer

I wonder (I haven't looked deep in docs yet), do Forum channels need new specific API endpoints too?

yutotakano avatar Nov 01 '22 19:11 yutotakano

They're simply channels that only contain threads. Although I wish that the API docs gave individual JSON breakdowns for each channel type, or a listing of which channel may have which field.

L0neGamer avatar Nov 01 '22 19:11 L0neGamer

Forums: https://discord.com/developers/docs/topics/threads#forums

Apparently they do have slightly different end points: https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel-jsonform-params

L0neGamer avatar Nov 01 '22 20:11 L0neGamer

I started this process (in 2f9f152), but I was getting burnt out on having to make so many individual data structures and their instances.

L0neGamer avatar Nov 06 '22 22:11 L0neGamer