mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -04:00
big help upgrades
- short descriptions for command list - argument descriptions - render argument list on detailed help page
This commit is contained in:
parent
5e5a738b74
commit
f9c627ada1
55 changed files with 114 additions and 30 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue