feat: add Message#bulkDeletable (v13) (#8761)

This commit is contained in:
Synbulat Biishev
2022-11-25 20:36:34 +03:00
committed by GitHub
parent 98846cf863
commit ca662b4de8
4 changed files with 31 additions and 3 deletions

2
typings/index.d.ts vendored
View File

@@ -1555,6 +1555,7 @@ export class Message<Cached extends boolean = boolean> extends Base {
public applicationId: Snowflake | null;
public attachments: Collection<Snowflake, MessageAttachment>;
public author: User;
public get bulkDeletable(): boolean;
public readonly channel: If<Cached, GuildTextBasedChannel, TextBasedChannel>;
public channelId: Snowflake;
public readonly cleanContent: string;
@@ -2930,6 +2931,7 @@ export const Constants: {
devDependencies: Record<string, string>;
[key: string]: unknown;
};
MaxBulkDeletableMessageAge: 1_209_600_000;
UserAgent: string;
Endpoints: {
botGateway: string;