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

@ -8,10 +8,16 @@ module.exports = {
label: 'text',
metadata: {
description: 'test',
description_short: 'Bot test',
examples: ['test'],
category: 'dev',
usage: 'test'
},
args: [
{ default: false, name: "noreply", type: "bool", help: "Should this command return the output?" },
{ default: 2, name: "jsonspacing", type: "number", help: "JSON spacing sizes" },
{ default: true, name: "async", type: "bool", help: "Compute async?" }
],
run: async (context, args) => {
if(context.user.id !== "223518178100248576") return;
let image = await getRecentImage(context, 50)