mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
fix(ThreadChannel): insert starter message from threads created in forum channels (#9100)
fix(ThreadChannel): insert starter message from forums Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -46,6 +46,8 @@ class ThreadChannel extends BaseChannel {
|
|||||||
_patch(data, partial = false) {
|
_patch(data, partial = false) {
|
||||||
super._patch(data);
|
super._patch(data);
|
||||||
|
|
||||||
|
if ('message' in data) this.messages._add(data.message);
|
||||||
|
|
||||||
if ('name' in data) {
|
if ('name' in data) {
|
||||||
/**
|
/**
|
||||||
* The name of the thread
|
* The name of the thread
|
||||||
|
|||||||
Reference in New Issue
Block a user