Forum channel (#2160)

* [WIP] Forum Channels

* Delete package-lock.json

🤕

* Add Message typings and fix createForumPost

* Remove unnecessary comment

* Update helpers/channels/forums/createForumPost.ts

Use transformer

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>

* Update helpers/channels/forums/createForumPost.ts

Use Pascal case for `CreateForumPostWithMessage`

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>

* Update helpers/channels/forums/createForumPost.ts

Use Pascal case for `CreateForumPostWithMessage`

Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>

* Remove unneeded types

* Revert Review and Edit it

* Add reason

Co-authored-by: meister03 <root@_HOSTNAME_>
Co-authored-by: LTS20050703 <87189679+lts20050703@users.noreply.github.com>
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
This commit is contained in:
meister03
2022-05-13 10:28:53 -04:00
committed by GitHub
co-authored by LTS20050703 Skillz4Killz meister03
parent 749dafd1ce
commit 7caab52b68
12 changed files with 105 additions and 0 deletions
+3
View File
@@ -70,6 +70,9 @@ export const endpoints = {
THREAD_ARCHIVED_PRIVATE_JOINED: (channelId: bigint) =>
`${CHANNEL_BASE(channelId)}/users/@me/threads/archived/private`,
// Thread -> Forum Endpoints
FORUM_START: (channelId: bigint) => `${CHANNEL_BASE(channelId)}/threads?has_message=true`,
// Guild Endpoints
GUILDS: () => `${baseEndpoints.BASE_URL}/guilds`,
GUILD_AUDIT_LOGS: (guildId: bigint) => `${GUILDS_BASE(guildId)}/audit-logs`,