commands.SlashConfig

interface SlashConfig<TSchema>

Configuration sent to Discord for a slash command.

exported from lib.weeble.d

Type parameters

TSchema – (extends OptionMap)

Properties

Property

Type

cooldown?

CommandCooldown

defaultMemberPermissions?

bigint | null

description

string

descriptionLocalizations?

LocaleMap

filters?

CommandFilter[]

name

string

nameLocalizations?

LocaleMap

nsfw?

boolean

options?

object

permissions?

CommandPermissions