refactor(Message): combine patch methods (#6071)

This commit is contained in:
ckohen
2021-07-22 01:05:38 -07:00
committed by GitHub
parent 328501bd8e
commit cd47a524af
3 changed files with 171 additions and 157 deletions

3
typings/index.d.ts vendored
View File

@@ -969,7 +969,8 @@ export class LimitedCollection<K, V> extends Collection<K, V> {
export class Message extends Base {
public constructor(client: Client, data: unknown, channel: TextChannel | DMChannel | NewsChannel | ThreadChannel);
private patch(data: unknown): Message;
private _patch(data: unknown, partial?: boolean): Message;
private _update(data: unknown, partial?: boolean): Message;
public activity: MessageActivity | null;
public applicationId: Snowflake | null;