mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
refactor(components): default set boolean methods to true (#7502)
This commit is contained in:
@@ -15,7 +15,7 @@ export class SelectMenuOption extends UnsafeSelectMenuOption {
|
||||
return super.setDescription(labelValueValidator.parse(description));
|
||||
}
|
||||
|
||||
public override setDefault(isDefault: boolean) {
|
||||
public override setDefault(isDefault = true) {
|
||||
return super.setDefault(defaultValidator.parse(isDefault));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user