Skip to content

Commit

Permalink
fix missing guildId and channelId in messages.forge()
Browse files Browse the repository at this point in the history
  • Loading branch information
timotejroiko committed Apr 4, 2022
1 parent ee72909 commit 37045c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 37045c1

Please sign in to comment.