mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
fix(helpers/messages): sendMessage explicit type for camelKeysToSnakeCase
This commit is contained in:
@@ -95,7 +95,7 @@ export async function sendMessage(
|
||||
const result = (await rest.runMethod(
|
||||
"post",
|
||||
endpoints.CHANNEL_MESSAGES(channelId),
|
||||
camelKeysToSnakeCase({
|
||||
camelKeysToSnakeCase<DiscordMessage>({
|
||||
...content,
|
||||
...(content.messageReference?.messageId
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user