mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
fix message.edits (#924)
This commit is contained in:
@@ -296,7 +296,9 @@ class Message {
|
|||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get edits() {
|
get edits() {
|
||||||
return this._edits.slice().unshift(this);
|
const copy = this._edits.slice();
|
||||||
|
copy.unshift(this);
|
||||||
|
return copy;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user