mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
typings(Emoji): remove deletable, add deleted, mark nullable props (#3542)
This commit is contained in:
committed by
SpaceEEC
parent
c3228b4263
commit
ca1bd61f4f
10
typings/index.d.ts
vendored
10
typings/index.d.ts
vendored
@@ -651,13 +651,13 @@ declare module 'discord.js' {
|
|||||||
export class Emoji extends Base {
|
export class Emoji extends Base {
|
||||||
constructor(client: Client, emoji: object);
|
constructor(client: Client, emoji: object);
|
||||||
public animated: boolean;
|
public animated: boolean;
|
||||||
public readonly createdAt: Date;
|
public readonly createdAt: Date | null;
|
||||||
public readonly createdTimestamp: number;
|
public readonly createdTimestamp: number | null;
|
||||||
public readonly deletable: boolean;
|
public deleted: boolean;
|
||||||
public id: Snowflake;
|
public id: Snowflake | null;
|
||||||
public name: string;
|
public name: string;
|
||||||
public readonly identifier: string;
|
public readonly identifier: string;
|
||||||
public readonly url: string;
|
public readonly url: string | null;
|
||||||
public toJSON(): object;
|
public toJSON(): object;
|
||||||
public toString(): string;
|
public toString(): string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user