style: format

This commit is contained in:
Slowlife01 2025-03-27 10:53:35 +07:00
parent fc713c85db
commit 297568f365

View file

@ -108,9 +108,10 @@ for (const command of commands) {
// Register all of the required options // Register all of the required options
for (const opt of command?.options || []) { for (const opt of command?.options || []) {
buildCommand = opt.parse !== undefined ? buildCommand =
buildCommand.option(opt.arg, opt.description, opt.parse) : opt.parse !== undefined
buildCommand.option(opt.arg, opt.description); ? buildCommand.option(opt.arg, opt.description, opt.parse)
: buildCommand.option(opt.arg, opt.description)
} }
buildCommand = buildCommand.action(async (...arguments_) => { buildCommand = buildCommand.action(async (...arguments_) => {