File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ class Message extends Base {
2323 /**
2424 * @param {Client } client The instantiating client
2525 * @param {Object } data The data for the message
26- * @param {TextChannel|DMChannel } channel The channel the message was sent in
26+ * @param {TextChannel|DMChannel|NewsChannel } channel The channel the message was sent in
2727 */
2828 constructor ( client , data , channel ) {
2929 super ( client ) ;
3030
3131 /**
3232 * The channel that the message was sent in
33- * @type {TextChannel|DMChannel }
33+ * @type {TextChannel|DMChannel|NewsChannel }
3434 */
3535 this . channel = channel ;
3636
Original file line number Diff line number Diff line change @@ -929,7 +929,7 @@ declare module 'discord.js' {
929929 }
930930
931931 export class Message extends Base {
932- constructor ( client : Client , data : object , channel : TextChannel | DMChannel ) ;
932+ constructor ( client : Client , data : object , channel : TextChannel | DMChannel | NewsChannel ) ;
933933 private _edits : Message [ ] ;
934934 private patch ( data : object ) : void ;
935935
You can’t perform that action at this time.
0 commit comments