mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
Improve Message's ID attribute documentation (#1450)
Remove the implication that a Message object's ID is unique only to the channel it was sent on Message ID's are snowflakes, and as stated in Discord's API documentation, globally unique throughout Discord
This commit is contained in:
parent
e3232bdb2b
commit
ddfa57e96d
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ class Message {
|
|||
|
||||
setup(data) { // eslint-disable-line complexity
|
||||
/**
|
||||
* The ID of the message (unique in the channel it was sent)
|
||||
* The ID of the message
|
||||
* @type {Snowflake}
|
||||
*/
|
||||
this.id = data.id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue