big help upgrades

- short descriptions for command list
  - argument descriptions
  - render argument list on detailed help page
This commit is contained in:
derpystuff 2022-12-06 10:26:34 +01:00
parent 5e5a738b74
commit f9c627ada1
55 changed files with 114 additions and 30 deletions

View file

@ -9,13 +9,14 @@ module.exports = {
label: 'text',
metadata: {
description: 'Generates an image with a retro style.',
description_short: 'Retro-styled text',
examples: ['retro cyberspace|chaos|crazy'],
category: 'image',
usage: 'retro <line1|line2|line3> [-background <1-5>] [-style <1-4>]'
},
args: [
{default: 5, name: 'background', type: 'integer'},
{default: 4, name: 'style', type: 'integer'},
{default: 5, name: 'background', type: 'integer', help: "Background Style ` 1, 2, 3, 4, 5 `"},
{default: 4, name: 'style', type: 'integer', help: "Text Style ` 1, 2, 3, 4 `"},
],
run: async (context, args) => {
context.triggerTyping();