From 85a84ec65bab3350330e0b5cfbd6cd1721e71441 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 db361fdc3..93622026c 100644 --- a/packages/core/src/api/channel.ts +++ b/packages/core/src/api/channel.ts @@ -34,7 +34,6 @@ import { type RESTPutAPIChannelRecipientJSONBody, type Snowflake, type RESTPostAPISoundboardSendSoundJSONBody, - type RESTPostAPISendSoundboardSoundResult, } from 'discord-api-types/v10'; export interface StartForumThreadOptions extends RESTPostAPIGuildForumThreadsJSONBody { @@ -617,10 +616,10 @@ export class ChannelsAPI { body: RESTPostAPISoundboardSendSoundJSONBody, { signal }: Pick = {}, ) { - return this.rest.post(Routes.sendSoundboardSound(channelId), { + await this.rest.post(Routes.sendSoundboardSound(channelId), { body, signal, - }) as Promise; + }); } /**