feat(bot,rest,gateway,utils,types)!: Add soundboard support (#3919)

* Add soundboard support

* Add rest endpoints

* add comment to gateway requestSoundboardSounds

* Apply suggestions from code review

Co-authored-by: Awesome Stickz <awesome@stickz.dev>

* Update for discord/discord-api-docs#7207

* Update discord.ts

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
Co-authored-by: ITOH <to@itoh.at>
This commit is contained in:
Fleny
2024-11-05 19:44:37 +05:30
committed by GitHub
co-authored by Awesome Stickz ITOH
parent 87e6cd0c2e
commit dfa7ff4045
27 changed files with 522 additions and 4 deletions
+4
View File
@@ -7,3 +7,7 @@ export function skuLink(appId: BigString, skuId: BigString): string {
export function storeLink(appId: BigString): string {
return `https://discord.com/application-directory/${appId}/store`
}
export function soundLink(soundId: BigString): string {
return `https://cdn.discordapp.com/soundboard-sounds/${soundId}`
}