SoundboardSoundCreateOptions

interface SoundboardSoundCreateOptions

Options for uploading a guild soundboard sound.

Properties

Property

Type

Description

emojiId?

string | null

ID of a custom emoji shown next to the sound.

emojiName?

string | null

Unicode emoji shown next to the sound.

name

string

Sound name, 2 to 32 characters.

reason?

string

Audit-log reason for uploading the sound.

sound

string

The audio as a data URI, for example data:audio/mpeg;base64,… . Discord accepts MP3 and OGG files up to 512 KB and 5.2 seconds long.

volume?

number

Playback volume from 0 to 1. Defaults to 1.