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

@ -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) => {