mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-11 07:33:14 -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
|
@ -48,12 +48,13 @@ module.exports = {
|
|||
aliases: ['r'],
|
||||
metadata: {
|
||||
description: 'Returns search results from reddit. Allows global and subreddit-specific search.',
|
||||
description_short: 'Reddit Search',
|
||||
examples: ['reddit r/otters'],
|
||||
category: 'search',
|
||||
usage: 'reddit [r/<subreddit>] <query> [-type image]'
|
||||
},
|
||||
args: [
|
||||
{ default: "all", name: "type", type: "image" }
|
||||
{ default: "all", name: "type", type: "image", help: "Types of post the search query should return" }
|
||||
],
|
||||
run: async (context, args) => {
|
||||
context.triggerTyping();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue