MCPcopy Create free account
hub / github.com/Botloader/botloader / editMessage

Function editMessage

components/runtime/src/ts/discord/dapi.ts:278–287  ·  view source on GitHub ↗
(channelId: string, messageId: string, fields: CreateMessageFields)

Source from the content-addressed store, hash-verified

276 }));
277}
278export async function editMessage(channelId: string, messageId: string, fields: CreateMessageFields): Promise<Message> {
279 return new Message(await OpWrappers.callAsyncOp({
280 kind: "discord_edit_message",
281 arg: {
282 channelId,
283 messageId,
284 fields: toOpMessageFields(fields),
285 }
286 }));
287}
288
289export async function crosspostMessage(channelId: string, messageId: string): Promise<void> {
290 await OpWrappers.callAsyncOp({

Callers 1

editMethod · 0.90

Calls 1

toOpMessageFieldsFunction · 0.85

Tested by

no test coverage detected