From 9b7ea5a1b73183e8fa64ae99a186313e961428a9 Mon Sep 17 00:00:00 2001 From: Almeida Date: Sun, 29 Mar 2026 10:25:00 +0100 Subject: [PATCH] fix: sendSoundboardSound return type (#11452) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/core/src/api/channel.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/core/src/api/channel.ts b/packages/core/src/api/channel.ts index ca062a70e..1490fc718 100644 --- a/packages/core/src/api/channel.ts +++ b/packages/core/src/api/channel.ts @@ -31,7 +31,6 @@ import { type RESTPostAPIChannelWebhookJSONBody, type RESTPostAPIChannelWebhookResult, type RESTPostAPIGuildForumThreadsJSONBody, - type RESTPostAPISendSoundboardSoundResult, type RESTPostAPISoundboardSendSoundJSONBody, type RESTPutAPIChannelPermissionJSONBody, type RESTPutAPIChannelRecipientJSONBody, @@ -702,11 +701,11 @@ export class ChannelsAPI { body: RESTPostAPISoundboardSendSoundJSONBody, { auth, signal }: Pick = {}, ) { - return this.rest.post(Routes.sendSoundboardSound(channelId), { + await this.rest.post(Routes.sendSoundboardSound(channelId), { auth, body, signal, - }) as Promise; + }); } /**