fix: sendSoundboardSound return type (#11452)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2026-07-15 16:06:14 +01:00
committed by Jiralite
co-authored by kodiakhq[bot]
parent 7b37177bcf
commit 85a84ec65b
+2 -3
View File
@@ -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<RequestData, 'signal'> = {},
) {
return this.rest.post(Routes.sendSoundboardSound(channelId), {
await this.rest.post(Routes.sendSoundboardSound(channelId), {
body,
signal,
}) as Promise<RESTPostAPISendSoundboardSoundResult>;
});
}
/**