mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
* 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>
14 lines
452 B
TypeScript
14 lines
452 B
TypeScript
import type { BigString } from '@discordeno/types'
|
|
|
|
export function skuLink(appId: BigString, skuId: BigString): string {
|
|
return `https://discord.com/application-directory/${appId}/store/${skuId}`
|
|
}
|
|
|
|
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}`
|
|
}
|