mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01: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:
committed by
SpaceEEC
parent
6a0fe467e5
commit
69c79a4136
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user