fix(core): Message.edit resolve ids

This commit is contained in:
socram03 2022-08-01 14:26:54 -04:00
parent 9bd75259a2
commit c610b183f7

View File

@ -415,7 +415,7 @@ export class Message implements Model {
/** Edits the current message */ /** Edits the current message */
async edit(options: EditMessage): Promise<Message> { async edit(options: EditMessage): Promise<Message> {
const message = await this.session.rest.patch<DiscordMessage>( const message = await this.session.rest.patch<DiscordMessage>(
CHANNEL_MESSAGE(this.id, this.channelId), CHANNEL_MESSAGE(this.channelId, this.id),
{ {
content: options.content, content: options.content,
allowed_mentions: { allowed_mentions: {