krisppurg / dimscord

A Discord Bot & REST Library for Nim.
https://krisppurg.github.io/dimscord/
MIT License
222 stars 22 forks source link

Add forum fields and media channel #107

Closed bit0r1n closed 1 year ago

bit0r1n commented 1 year ago

This is just same as forum, which fields was not added earlier anyway (default_*, available_tags)

Output of /channels/:id with type=16 { id: '1120708983754326108', type: 16, last_message_id: '1120742401133269023', flags: 0, guild_id: '925061751211450380', name: 'старый-канал', parent_id: null, rate_limit_per_user: 0, topic: null, position: 0, permission_overwrites: [Array], nsfw: false, available_tags: [], default_reaction_emoji: null, default_sort_order: null, default_forum_layout: 2, template: '' }
krisppurg commented 1 year ago

This is just same as forum, which fields was not added earlier anyway (default_*, available_tags)

Output of /channels/:id with type=16 { id: '1120708983754326108', type: 16, last_message_id: '1120742401133269023', flags: 0, guild_id: '925061751211450380', name: 'старый-канал', parent_id: null, rate_limit_per_user: 0, topic: null, position: 0, permission_overwrites: [Array], nsfw: false, available_tags: [], default_reaction_emoji: null, default_sort_order: null, default_forum_layout: 2, template: '' }

Should add the missing fields to GuildChannel then

bit0r1n commented 1 year ago

okay, I will add with this pr