mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 20:51:14 +00:00
typings(Emoji): remove deletable, add deleted, mark nullable props (#3542)
This commit is contained in:
parent
c3228b4263
commit
ca1bd61f4f
1 changed files with 5 additions and 5 deletions
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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue