diff --git a/commands/message/google/transcribe.js b/commands/message/google/transcribe.js index 82558f5..f56026c 100644 --- a/commands/message/google/transcribe.js +++ b/commands/message/google/transcribe.js @@ -4,7 +4,7 @@ const { editOrReply } = require('../../../labscore/utils/message') const { googleSpeechRecognition } = require('../../../labscore/api'); const { STATICS } = require('../../../labscore/utils/statics'); -const { codeblock } = require('../../../labscore/utils/markdown'); +const { codeblock, icon } = require('../../../labscore/utils/markdown'); const { Permissions } = require("detritus-client/lib/constants"); @@ -12,7 +12,7 @@ module.exports = { name: 'transcribe', aliases: ['tcr'], metadata: { - description: '__Replying__ to a voice message when using this command will transcribe the contents of the voice message.', + description: `${icon("reply")} __Replying__ to a voice message when using this command will transcribe the contents of the voice message.`, description_short: 'Discord voice message transcription', category: 'utils', usage: 'transcribe' diff --git a/commands/message/limited/chat.js b/commands/message/limited/chat.js index efff603..b54a0a9 100644 --- a/commands/message/limited/chat.js +++ b/commands/message/limited/chat.js @@ -32,7 +32,7 @@ module.exports = { label: 'text', aliases: ['openai','gpt','chatgpt'], metadata: { - description: `${iconPill("generative_ai", "LIMITED TESTING")}\n\nTalk to ChatGPT.`, + description: `${iconPill("generative_ai", "LIMITED TESTING")}\n${smallIconPill("reply", "Supports Replies")}\n\nTalk to ChatGPT.`, description_short: 'Talk to ChatGPT.', examples: ['chat How many otter species are there?'], category: 'limited', diff --git a/commands/message/limited/palm.js b/commands/message/limited/palm.js index 651c592..a8aa564 100644 --- a/commands/message/limited/palm.js +++ b/commands/message/limited/palm.js @@ -14,7 +14,7 @@ module.exports = { label: 'text', aliases: ['palm2'], metadata: { - description: `${iconPill("generative_ai", "LIMITED TESTING")}\n\nTalk to <:palm2:1163200685177839666> PaLM 2.`, + description: `${iconPill("generative_ai", "LIMITED TESTING")}\n${smallIconPill("reply", "Supports Replies")}\n\nTalk to <:palm2:1163200685177839666> PaLM 2.`, description_short: 'Chat with PaLM 2.', examples: ['palm How many otter species are there?'], category: 'limited', diff --git a/commands/message/search/audio.js b/commands/message/search/audio.js index fad839c..b943e06 100644 --- a/commands/message/search/audio.js +++ b/commands/message/search/audio.js @@ -13,7 +13,7 @@ module.exports = { name: 'audio', aliases: ['aud'], metadata: { - description: '__Replying__ to a message while using this command will return a list of music streamin platforms the provided song (link) is available on.', + 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' diff --git a/commands/message/search/wolfram-alpha.js b/commands/message/search/wolfram-alpha.js index 04d4cbb..2f52e7d 100644 --- a/commands/message/search/wolfram-alpha.js +++ b/commands/message/search/wolfram-alpha.js @@ -44,7 +44,7 @@ module.exports = { label: 'query', aliases: ['wa', 'wolfram-alpha', 'wolfram'], metadata: { - description: 'Computes a query using Wolfram|Alpha.', + description: `${smallIconPill("reply", "Supports Replies")}\n\nComputes a query using Wolfram|Alpha.`, description_short: 'Compute via Wolfram|Alpha', examples: ['wa x^2+5x+6=0', 'wa 5€ to $', 'wa 5\'11 to cm'], category: 'search', diff --git a/commands/message/utils/emoji.js b/commands/message/utils/emoji.js index cdcb1ff..4234a25 100644 --- a/commands/message/utils/emoji.js +++ b/commands/message/utils/emoji.js @@ -37,7 +37,7 @@ module.exports = { name: "emoji", aliases: ['e', 'emote', 'enlarge', 'em', 'emojimix'], metadata: { - description: 'Displays information about emoji. Supports regular emoji, discord emoji and stickers.\nAlso supports replies.\n\nUsing two emoji will mix them together.', + description: `${smallIconPill("reply", "Supports Replies")}\n\nDisplays information about emoji. Supports regular emoji, discord emoji and stickers.\nAlso supports replies.\n\nUsing two emoji will mix them together.`, description_short: 'Get emoji/sticker source images, mix two emoji together.', examples: ['e πŸ˜€', 'emojimix 🐱 🍞'], category: 'utils', diff --git a/commands/message/utils/latex.js b/commands/message/utils/latex.js index f13f4e3..3b09b7c 100644 --- a/commands/message/utils/latex.js +++ b/commands/message/utils/latex.js @@ -1,7 +1,6 @@ const { paginator } = require("../../../labscore/client"); const { createEmbed, page, formatPaginationEmbeds } = require("../../../labscore/utils/embed"); -const { codeblock } = require("../../../labscore/utils/markdown"); -const { editOrReply } = require("../../../labscore/utils/message"); +const { codeblock, pill, smallIconPill } = require("../../../labscore/utils/markdown"); const { Permissions } = require("detritus-client/lib/constants"); @@ -13,10 +12,10 @@ module.exports = { aliases: ['tex'], label: 'content', metadata: { - description: 'Renders LaTeX expressions.\nReply to a message to render TeX from it.', + description: `${smallIconPill("reply", "Supports Replies")}\n\nRenders LaTeX expressions.\n\nAdding ${pill('-i')} will include the detected expression.`, description_short: 'LaTeX preview.', category: 'utils', - usage: 'latex ' + usage: 'latex [-i]' }, permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.READ_MESSAGE_HISTORY, Permissions.USE_EXTERNAL_EMOJIS], run: async (context, args) => { diff --git a/commands/message/utils/ocr.js b/commands/message/utils/ocr.js index b260708..f1bc53c 100644 --- a/commands/message/utils/ocr.js +++ b/commands/message/utils/ocr.js @@ -10,7 +10,7 @@ const { Permissions } = require("detritus-client/lib/constants"); module.exports = { name: 'ocr', metadata: { - description: 'Uses Optical Character Recognition to detect text in images.', + description: `${smallIconPill("reply", "Supports Replies")}\n\nUses Optical Character Recognition to detect text in images.`, description_short: 'Image text recognition.', category: 'utils', usage: 'ocr ' diff --git a/commands/message/utils/ocrtr.js b/commands/message/utils/ocrtr.js index d999b06..705bd41 100644 --- a/commands/message/utils/ocrtr.js +++ b/commands/message/utils/ocrtr.js @@ -13,7 +13,7 @@ module.exports = { label: 'to', aliases: ["octr"], metadata: { - description: 'Uses Optical Character Recognition to translate text in an image.', + description: `${smallIconPill("reply", "Supports Replies")}\n\nUses Optical Character Recognition to translate text in an image.`, description_short: 'Image text recognition + translation.', examples: ['ocrtr en -from pl'], category: 'utils', diff --git a/commands/message/utils/translate.js b/commands/message/utils/translate.js index 6e75bbb..b8e3c59 100644 --- a/commands/message/utils/translate.js +++ b/commands/message/utils/translate.js @@ -15,7 +15,7 @@ module.exports = { label: 'text', aliases: ['tr'], metadata: { - description: 'Translates text. Supports automatic source language detection.', + description: `${smallIconPill("reply", "Supports Replies")}\n\nTranslates text. Supports automatic source language detection.`, description_short: 'Translate text.', examples: ['tr groß nussig -from de -to en'], category: 'utils',