From 37045c1dc31806accf2a9b6b2e5f7a733d13494d Mon Sep 17 00:00:00 2001 From: Timotej Rojko <33236065+timotejroiko@users.noreply.github.com> Date: Sun, 3 Apr 2022 23:45:42 -0300 Subject: [PATCH] fix missing guildId and channelId in messages.forge() --- extensions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions.js b/extensions.js index 40c6bb0..3970f30 100644 --- a/extensions.js +++ b/extensions.js @@ -210,7 +210,7 @@ Discord.PresenceManager.prototype.forge = function(id) { }; Discord.MessageManager.prototype.forge = function(id) { - return this._add({ id }, false); + return this._add({ id, guild_id: this.channel.guildId, channel_id: this.channel.id }, false); }; Discord.GuildBanManager.prototype.forge = function(id) {