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

@ -18,7 +18,8 @@ module.exports = {
description: `${icon("reply")} __Replying__ to a message while using this command will return a list of music streamin platforms the provided song (link) is available on.`,
description_short: 'Cross-platform music search',
category: 'search',
usage: 'audio'
usage: 'audio',
slashCommand: "Music Platforms"
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.READ_MESSAGE_HISTORY],
run: async (context) => {

View file

@ -70,7 +70,8 @@ module.exports = {
description_short: 'Search on Google',
examples: ['google Eurasian Small Clawed Otter'],
category: 'search',
usage: 'google <query>'
usage: 'google <query>',
slashCommand: "google"
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.READ_MESSAGE_HISTORY],
run: async (context, args) => {

View file

@ -48,7 +48,8 @@ module.exports = {
description_short: 'Search song lyrics',
examples: ['lyrics desert bloom man'],
category: 'search',
usage: 'lyrics <query>'
usage: 'lyrics <query>',
slashCommand: "lyics"
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.READ_MESSAGE_HISTORY, Permissions.READ_MESSAGE_HISTORY],
run: async (context, args) => {

View file

@ -40,7 +40,8 @@ module.exports = {
description: 'Performs a reverse-image-search.',
description_short: 'Reverse image search',
category: 'search',
usage: 'reverse <image>'
usage: 'reverse <image>',
slashCommand: "Reverse Image Search"
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.READ_MESSAGE_HISTORY],
run: async (context) => {

View file

@ -49,7 +49,8 @@ module.exports = {
description_short: 'Compute via Wolfram|Alpha',
examples: ['wa x^2+5x+6=0', 'wa 5€ to $', 'wa 5\'11 to cm'],
category: 'search',
usage: 'wolframalpha <query>'
usage: 'wolframalpha <query>',
slashCommand: "wolframalpha"
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.READ_MESSAGE_HISTORY],
run: async (context, args) => {

View file

@ -117,7 +117,8 @@ module.exports = {
description_short: `Search YouTube videos, channels and playlists.`,
examples: ['youtube otter live cam'],
category: 'search',
usage: 'youtube <query> [-type <category>]'
usage: 'youtube <query> [-type <category>]',
slashCommand: "youtube"
},
args: [
{name: 'type', default: 'all', type: 'string', help: `Video Category`}