mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
follow and cross post endpoints support
This commit is contained in:
@@ -223,3 +223,11 @@ export async function editMessage(
|
||||
);
|
||||
return createMessage(result as MessageCreateOptions);
|
||||
}
|
||||
|
||||
export async function publishMessage(channelID: string, messageID: string) {
|
||||
const data = await RequestManager.post(
|
||||
endpoints.CHANNEL_MESSAGE_CROSSPOST(channelID, messageID),
|
||||
) as MessageCreateOptions;
|
||||
|
||||
return createMessage(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user