mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
fix(Presence): add missing userID property to declarations (#4013)
* Added `userID` property to `Presence` class userID property exists in docs but not in typings * fix(Presence): userID should be typed as Snowflake Co-Authored-By: BorgerKing <38166539+RDambrosio016@users.noreply.github.com> Co-authored-by: SpaceEEC <spaceeec@yahoo.com> Co-authored-by: BorgerKing <38166539+RDambrosio016@users.noreply.github.com>
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1165,6 +1165,7 @@ declare module 'discord.js' {
|
||||
public readonly member: GuildMember | null;
|
||||
public status: PresenceStatus;
|
||||
public readonly user: User | null;
|
||||
public userID: Snowflake;
|
||||
public equals(presence: Presence): boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user