Simplify options syntax
This commit is contained in:
parent
d16942c0a7
commit
b3a464c8d6
3 changed files with 12 additions and 8 deletions
|
@ -12,7 +12,7 @@ class HelpCommand extends Command {
|
|||
return message.util.send([
|
||||
'**Usage:**',
|
||||
'Put a `>` before a code block with a language or an inline code block that has a language to execute it.',
|
||||
'You can add options inside `[]` after the `>`.',
|
||||
'You can add options, separated by semicolons, after the `>`.',
|
||||
'',
|
||||
'**Examples:**',
|
||||
'```',
|
||||
|
@ -22,9 +22,9 @@ class HelpCommand extends Command {
|
|||
'',
|
||||
'>`hs main = print (1 + 1)`',
|
||||
'',
|
||||
'>[harmony]`\u200B``js',
|
||||
'>e; harmony`\u200B``js',
|
||||
'class Foo { bar = 1; }',
|
||||
'console.log(new Foo().bar);',
|
||||
'new Foo().bar;',
|
||||
'`\u200B``',
|
||||
'```',
|
||||
'**Supported languages:**',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue