mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
typings/docs(GuildEmoji): id isn't nullable (#3694)
* Fix: GuildEmoji#id isn't nullable * Move ID to be alphabetical * Add JSDoc to say it's not nullable * fix linting
This commit is contained in:
parent
6a0fe467e5
commit
69c79a4136
2 changed files with 7 additions and 0 deletions
|
|
@ -24,6 +24,12 @@ class GuildEmoji extends Emoji {
|
|||
*/
|
||||
this.guild = guild;
|
||||
|
||||
/**
|
||||
* The ID of this emoji
|
||||
* @type {Snowflake}
|
||||
* @name GuildEmoji#id
|
||||
*/
|
||||
|
||||
this._roles = [];
|
||||
this._patch(data);
|
||||
}
|
||||
|
|
|
|||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
|
|
@ -841,6 +841,7 @@ declare module 'discord.js' {
|
|||
public available: boolean;
|
||||
public readonly deletable: boolean;
|
||||
public guild: Guild;
|
||||
public id: Snowflake;
|
||||
public managed: boolean;
|
||||
public requiresColons: boolean;
|
||||
public roles: GuildEmojiRoleStore;
|
||||
|
|
|
|||
Loading…
Reference in a new issue