Skip to content

CommandBuilder

Defined in: zaun/js/index.d.ts:456

new CommandBuilder(data?): CommandBuilder

Defined in: zaun/js/index.d.ts:457

object

CommandBuilder

Builder<ApplicationCommandData>.constructor

data: ApplicationCommandData

Defined in: zaun/js/index.d.ts:410

Builder.data

addOption(option): this

Defined in: zaun/js/index.d.ts:462

CommandOptionData | { toJSON(): CommandOptionData; }

this


setDefaultMemberPermissions(bits): this

Defined in: zaun/js/index.d.ts:461

string | bigint

this


setDescription(text): this

Defined in: zaun/js/index.d.ts:459

string

this


setName(name): this

Defined in: zaun/js/index.d.ts:458

string

this


setType(type): this

Defined in: zaun/js/index.d.ts:460

number

this


toJSON(): ApplicationCommandData

Defined in: zaun/js/index.d.ts:411

ApplicationCommandData

Builder.toJSON