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; + }); } /**