refactor(components): default set boolean methods to true (#7502)

This commit is contained in:
Rodry
2022-02-20 12:35:00 +00:00
committed by GitHub
parent 71f4fa82ed
commit b12214922c
6 changed files with 6 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ export class SelectMenuComponent extends UnsafeSelectMenuComponent {
return super.setCustomId(customIdValidator.parse(customId));
}
public override setDisabled(disabled: boolean) {
public override setDisabled(disabled = true) {
return super.setDisabled(disabledValidator.parse(disabled));
}