mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix(core): Message.edit resolve ids
This commit is contained in:
parent
9bd75259a2
commit
c610b183f7
@ -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: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user