feat: add announcement channels, publishing and following (#3090)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-01 16:57:21 +02:00
1 parent 376afd2ad6
commit 7e4d5137f8
381 files changed
+45650 -14076

No files matched your search

@@ -140,7 +140,7 @@ describe('Guild Template Import', () => {
},
{
id: '4102',
type: 5,
type: ChannelTypes.GUILD_ANNOUNCEMENT,
name: 'announcements',
parent_id: '4101',
position: 1,
@@ -170,7 +170,7 @@ describe('Guild Template Import', () => {
const mediaChannel = channels.find((channel) => channel.name === 'media-feed');
expect(categoryChannel).toBeDefined();
expect(announcementsChannel).toBeDefined();
expect(announcementsChannel?.type).toBe(ChannelTypes.GUILD_TEXT);
expect(announcementsChannel?.type).toBe(ChannelTypes.GUILD_ANNOUNCEMENT);
expect(announcementsChannel?.parent_id).toBe(categoryChannel?.id ?? null);
expect(stageChannel).toBeDefined();
expect(stageChannel?.type).toBe(ChannelTypes.GUILD_VOICE);