mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
docs(Message): add NewsChannel type to Message#channel (#4680)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -929,7 +929,7 @@ declare module 'discord.js' {
|
||||
}
|
||||
|
||||
export class Message extends Base {
|
||||
constructor(client: Client, data: object, channel: TextChannel | DMChannel);
|
||||
constructor(client: Client, data: object, channel: TextChannel | DMChannel | NewsChannel);
|
||||
private _edits: Message[];
|
||||
private patch(data: object): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user