add slash command hints to help

This commit is contained in:
bignutty 2024-07-15 20:14:00 +02:00
parent 34ba5a6e94
commit 1f6e2cd1f1
19 changed files with 63 additions and 22 deletions

View file

@ -57,9 +57,10 @@ module.exports = {
metadata: {
description: 'Looks up words and teminology in a dictionary.',
description_short: 'Dictionary word definitions.',
examples: ['dictionary Gehen -lang de'],
examples: ['define Gehen -lang de'],
category: 'utils',
usage: 'define <query> [-lang <language>]'
usage: 'dictionary <query> [-lang <language>]',
slashCommand: "dictionary"
},
args: [
{name: 'lang', default: 'en', type: 'language', help: "Language to define in"},

View file

@ -45,7 +45,8 @@ module.exports = {
examples: ['e 😀', 'emojimix 🐱 🍞'],
category: 'utils',
usage: 'emoji <emoji> [<emoji to mix>]',
use_custom_ingest: true
use_custom_ingest: true,
slashCommand: "emoji"
},
args: [
{name: 'type', default: 'twitter', type: 'string', help: `Emoji platform type`}

View file

@ -40,7 +40,8 @@ module.exports = {
description_short: 'Detailed information about an emoji.',
examples: ['ei 😀'],
category: 'utils',
usage: 'emojiinfo <emoji>'
usage: 'emojipedia <emoji>',
slashCommand: "emojipedia"
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.READ_MESSAGE_HISTORY, Permissions.USE_EXTERNAL_EMOJIS],
run: async (context, args) => {

View file

@ -15,7 +15,8 @@ module.exports = {
description: `${smallIconPill("reply", "Supports Replies")}\n\nUses Optical Character Recognition to detect text in images.`,
description_short: 'Image text recognition.',
category: 'utils',
usage: 'ocr <attachment>'
usage: 'ocr <attachment>',
slashCommand: "OCR"
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.READ_MESSAGE_HISTORY, Permissions.USE_EXTERNAL_EMOJIS],
run: async (context) => {

View file

@ -20,7 +20,8 @@ module.exports = {
description_short: 'Image text recognition + translation.',
examples: ['ocrtr en -from pl'],
category: 'utils',
usage: 'ocrtr <language> [-from <origin language>]'
usage: 'ocrtr <language> [-from <origin language>]',
slashCommand: "OCR Translate"
},
args: [
{name: 'from', default: 'auto', type: 'string', help: "Language to translate from"}

View file

@ -15,7 +15,8 @@ module.exports = {
description_short: 'Screenshot websites.',
examples: ['ss google.com'],
category: 'utils',
usage: 'screenshot <url>'
usage: 'screenshot <url>',
slashCommand: "screenshot"
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.ATTACH_FILES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.READ_MESSAGE_HISTORY],
run: async (context, args) => {

View file

@ -17,7 +17,8 @@ module.exports = {
description_short: 'Local weather information',
examples: ['weather Otter, Germany'],
category: 'utils',
usage: 'weather <location>'
usage: 'weather <location>',
slashCommand: "weather"
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.READ_MESSAGE_HISTORY],
run: async (context, args) => {