mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
types: make required a boolean (#7307)
This commit is contained in:
@@ -5,7 +5,7 @@ import { SharedNameAndDescription } from './NameAndDescription';
|
|||||||
export abstract class ApplicationCommandOptionBase extends SharedNameAndDescription {
|
export abstract class ApplicationCommandOptionBase extends SharedNameAndDescription {
|
||||||
public abstract readonly type: ApplicationCommandOptionType;
|
public abstract readonly type: ApplicationCommandOptionType;
|
||||||
|
|
||||||
public readonly required = false;
|
public readonly required: boolean = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Marks the option as required
|
* Marks the option as required
|
||||||
|
|||||||
Reference in New Issue
Block a user