mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 22:53:06 -04:00
add slash command hints to help
This commit is contained in:
parent
34ba5a6e94
commit
1f6e2cd1f1
19 changed files with 63 additions and 22 deletions
|
@ -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"},
|
||||
|
|
|
@ -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`}
|
||||
|
|
|
@ -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) => {
|
||||
|
|
|
@ -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) => {
|
||||
|
|
|
@ -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"}
|
||||
|
|
|
@ -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) => {
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue