diff --git a/lib/structures/Client.ts b/lib/structures/Client.ts index 0dc2b41..e1819f7 100644 --- a/lib/structures/Client.ts +++ b/lib/structures/Client.ts @@ -86,7 +86,8 @@ import { AnyTextableChannel, CreateChannelOptions, CreateMessageOptions, - EditChannelOptions + EditChannelOptions, + EditMessageOptions } from "../types/channel"; import { CreateForumThreadOptions, EditForumThreadOptions, GetForumThreadsFilter } from "../types/forumThread"; import { CreateForumCommentOptions, EditForumCommentOptions } from "../types/forumThreadComment"; @@ -612,7 +613,7 @@ export class Client extends TypedEmitter { async editMessage( channelID: string, messageID: string, - newMessage: object + newMessage: EditMessageOptions ): Promise> { return this.rest.channels.editMessage(channelID, messageID, newMessage); }