mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13: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) {
|
||||
super._patch(data);
|
||||
|
||||
if ('message' in data) this.messages._add(data.message);
|
||||
|
||||
if ('name' in data) {
|
||||
/**
|
||||
* The name of the thread
|
||||
|
||||
Reference in New Issue
Block a user