Skip to main content

CreateGuildSoundboardSound

@discordeno/bot


Documentation / @discordeno/bot / CreateGuildSoundboardSound

Interface: CreateGuildSoundboardSound

Defined in: packages/types/dist/types/discordeno.d.ts:1448

https://discord.com/developers/docs/resources/soundboard#create-guild-soundboard-sound-json-params

Properties

emojiId?

optional emojiId: null | BigString

Defined in: packages/types/dist/types/discordeno.d.ts:1456

The id of the custom emoji for the soundboard sound


emojiName?

optional emojiName: null | string

Defined in: packages/types/dist/types/discordeno.d.ts:1458

The unicode character of a standard emoji for the soundboard sound


name

name: string

Defined in: packages/types/dist/types/discordeno.d.ts:1450

Name of the soundboard sound (2-32 characters)


sound

sound: string

Defined in: packages/types/dist/types/discordeno.d.ts:1452

The mp3 or ogg sound data, base64 encoded, similar to image data


volume?

optional volume: null | number

Defined in: packages/types/dist/types/discordeno.d.ts:1454

The volume of the soundboard sound, from 0 to 1, defaults to 1