update help descriptions

This commit is contained in:
derpystuff 2023-12-07 22:21:07 +01:00
parent e946bf0c24
commit 7aa4537b78
10 changed files with 13 additions and 14 deletions

View file

@ -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'

View file

@ -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',

View file

@ -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',

View file

@ -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'

View file

@ -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',

View file

@ -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',

View file

@ -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 <expression>'
usage: 'latex <expression> [-i]'
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.READ_MESSAGE_HISTORY, Permissions.USE_EXTERNAL_EMOJIS],
run: async (context, args) => {

View file

@ -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 <attachment>'

View file

@ -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',

View file

@ -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',