Describe flags

This commit is contained in:
Ske 2020-06-12 15:46:46 +02:00
parent 68b1fab369
commit d1476e1b88
2 changed files with 15 additions and 3 deletions

View file

@ -42,8 +42,8 @@ function systemSetterCommand(cmdPrefix, valueName, valueArg, exampleVal = "examp
{cmd: `${cmdPrefix} \`${valueArg}\``, desc: `Sets your ${valueName}.`}
],
examples: [
{cmd: cmdPrefix, desc: `Shows your current ${valueName}.`},
{cmd: `${cmdPrefix} -clear`, desc: `Clears your ${valueName}.`},
...(withRaw ? [{cmd: `${cmdPrefix} -raw`, desc: `Shows your ${valueName} with formatting.`}] : []),
{cmd: `${cmdPrefix} \`${exampleVal}\``, desc: `Changes your ${valueName} to '${exampleVal}'`}
],
flags: {