mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
update examles
This commit is contained in:
parent
75b8520481
commit
b3989587bb
38 changed files with 21 additions and 42 deletions
|
@ -11,7 +11,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Displays information about the bots connection to discord.',
|
description: 'Displays information about the bots connection to discord.',
|
||||||
description_short: 'Bot connection details',
|
description_short: 'Bot connection details',
|
||||||
examples: ['ping'],
|
|
||||||
category: 'core',
|
category: 'core',
|
||||||
usage: 'ping'
|
usage: 'ping'
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Shows the bots privacy policy.',
|
description: 'Shows the bots privacy policy.',
|
||||||
description_short: 'Privacy policy',
|
description_short: 'Privacy policy',
|
||||||
examples: ['privacy'],
|
|
||||||
category: 'core',
|
category: 'core',
|
||||||
usage: 'privacy'
|
usage: 'privacy'
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Details about the bots connection to this server.',
|
description: 'Details about the bots connection to this server.',
|
||||||
description_short: 'Shard information',
|
description_short: 'Shard information',
|
||||||
examples: ['shard'],
|
|
||||||
category: 'core',
|
category: 'core',
|
||||||
usage: 'shard'
|
usage: 'shard'
|
||||||
},
|
},
|
||||||
|
|
|
@ -23,7 +23,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Shows statistics about the bot.',
|
description: 'Shows statistics about the bot.',
|
||||||
description_short: 'Bot statistics',
|
description_short: 'Bot statistics',
|
||||||
examples: ['stats'],
|
|
||||||
category: 'core',
|
category: 'core',
|
||||||
usage: 'stats'
|
usage: 'stats'
|
||||||
},
|
},
|
||||||
|
|
|
@ -6,7 +6,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Reloads commands on all shards.',
|
description: 'Reloads commands on all shards.',
|
||||||
description_short: 'Bot reload',
|
description_short: 'Bot reload',
|
||||||
examples: ['reload'],
|
|
||||||
category: 'dev',
|
category: 'dev',
|
||||||
usage: 'reload'
|
usage: 'reload'
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,17 +2,17 @@ const { createEmbed } = require('../../../labscore/utils/embed')
|
||||||
const { editOrReply } = require('../../../labscore/utils/message')
|
const { editOrReply } = require('../../../labscore/utils/message')
|
||||||
|
|
||||||
const { execSync } = require("child_process");
|
const { execSync } = require("child_process");
|
||||||
const { icon, highlight } = require('../../../labscore/utils/markdown');
|
const { icon, highlight, smallPill } = require('../../../labscore/utils/markdown');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: "update",
|
name: "update",
|
||||||
label: "flags",
|
label: "flags",
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Fetches latest bot version.',
|
description: `Fetches latest bot version.\nUse ${smallPill('-f')} to force an update.`,
|
||||||
description_short: 'Bot update',
|
description_short: 'Bot update',
|
||||||
examples: ['update'],
|
examples: ['update -f'],
|
||||||
category: 'dev',
|
category: 'dev',
|
||||||
usage: 'update [-force true]'
|
usage: 'update [-f]'
|
||||||
},
|
},
|
||||||
onBefore: context => context.user.isClientOwner,
|
onBefore: context => context.user.isClientOwner,
|
||||||
onCancel: ()=>{},
|
onCancel: ()=>{},
|
||||||
|
|
|
@ -59,7 +59,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Returns a random colorful wallpaper from JetBrains Eidos.',
|
description: 'Returns a random colorful wallpaper from JetBrains Eidos.',
|
||||||
description_short: 'AI wallpapers',
|
description_short: 'AI wallpapers',
|
||||||
examples: ['art2'],
|
|
||||||
category: 'fun',
|
category: 'fun',
|
||||||
usage: `art2`
|
usage: `art2`
|
||||||
},
|
},
|
||||||
|
|
|
@ -18,7 +18,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Returns a random garfield comic strip.',
|
description: 'Returns a random garfield comic strip.',
|
||||||
description_short: 'Random garfield comic',
|
description_short: 'Random garfield comic',
|
||||||
examples: ['garf'],
|
|
||||||
category: 'fun',
|
category: 'fun',
|
||||||
usage: `garfield`
|
usage: `garfield`
|
||||||
},
|
},
|
||||||
|
|
|
@ -11,7 +11,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Generates a random inspirational quote.',
|
description: 'Generates a random inspirational quote.',
|
||||||
description_short: 'Inspirational Quotes',
|
description_short: 'Inspirational Quotes',
|
||||||
examples: ['inspire'],
|
|
||||||
category: 'fun',
|
category: 'fun',
|
||||||
usage: `inspire`
|
usage: `inspire`
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Displays a random image containing otters.',
|
description: 'Displays a random image containing otters.',
|
||||||
description_short: 'Otter images',
|
description_short: 'Otter images',
|
||||||
examples: ['otter'],
|
|
||||||
category: 'fun',
|
category: 'fun',
|
||||||
usage: `otter`
|
usage: `otter`
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Applies labels to an image based on its visual contents.',
|
description: 'Applies labels to an image based on its visual contents.',
|
||||||
description_short: 'Image content label detection',
|
description_short: 'Image content label detection',
|
||||||
examples: ['labels'],
|
|
||||||
category: 'utils',
|
category: 'utils',
|
||||||
usage: 'labels <attachment>'
|
usage: 'labels <attachment>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,7 +2,7 @@ const { googleVisionSafetyLabels } = require("../../../labscore/api");
|
||||||
const { GOOGLE_CLOUD_SAFETY_LABELS, GOOGLE_CLOUD_SAFETY_LABELS_NAMES } = require("../../../labscore/constants");
|
const { GOOGLE_CLOUD_SAFETY_LABELS, GOOGLE_CLOUD_SAFETY_LABELS_NAMES } = require("../../../labscore/constants");
|
||||||
const { getRecentImage } = require("../../../labscore/utils/attachment");
|
const { getRecentImage } = require("../../../labscore/utils/attachment");
|
||||||
const { createEmbed } = require("../../../labscore/utils/embed");
|
const { createEmbed } = require("../../../labscore/utils/embed");
|
||||||
const { icon, pill, iconPill } = require("../../../labscore/utils/markdown");
|
const { pill, iconPill } = require("../../../labscore/utils/markdown");
|
||||||
const { editOrReply } = require("../../../labscore/utils/message");
|
const { editOrReply } = require("../../../labscore/utils/message");
|
||||||
const { STATICS } = require("../../../labscore/utils/statics");
|
const { STATICS } = require("../../../labscore/utils/statics");
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Applies detection labels for potentially sensitive content of an image.',
|
description: 'Applies detection labels for potentially sensitive content of an image.',
|
||||||
description_short: 'Sentivite content detection labels',
|
description_short: 'Sentivite content detection labels',
|
||||||
examples: ['safetylabels'],
|
|
||||||
category: 'utils',
|
category: 'utils',
|
||||||
usage: 'safetylabels <attachment>'
|
usage: 'safetylabels <attachment>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,7 +14,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: '__Replying__ to a voice message when using this command will transcribe the contents of the voice message.',
|
description: '__Replying__ to a voice message when using this command will transcribe the contents of the voice message.',
|
||||||
description_short: 'Discord voice message transcription',
|
description_short: 'Discord voice message transcription',
|
||||||
examples: ['tcr'],
|
|
||||||
category: 'utils',
|
category: 'utils',
|
||||||
usage: 'transcribe'
|
usage: 'transcribe'
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Uses Craiyon to generate four images from a text prompt.',
|
description: 'Uses Craiyon to generate four images from a text prompt.',
|
||||||
description_short: 'Craiyon AI image generation',
|
description_short: 'Craiyon AI image generation',
|
||||||
examples: ['dalle'],
|
examples: ['dalle Otter'],
|
||||||
category: 'image',
|
category: 'image',
|
||||||
usage: 'dalle <text>'
|
usage: 'dalle <text>'
|
||||||
},
|
},
|
||||||
|
@ -23,6 +23,8 @@ module.exports = {
|
||||||
},
|
},
|
||||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES],
|
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES],
|
||||||
run: async (context, args) => {
|
run: async (context, args) => {
|
||||||
|
if(!context.channel.nsfw) return editOrReply(context, {embeds:[createEmbed("nsfw", context)]})
|
||||||
|
|
||||||
let response = await editOrReply(context, { embeds: [createEmbed("loading", context, `Synthesizing images...`)] })
|
let response = await editOrReply(context, { embeds: [createEmbed("loading", context, `Synthesizing images...`)] })
|
||||||
|
|
||||||
let noticeTimer = setTimeout(()=>{
|
let noticeTimer = setTimeout(()=>{
|
||||||
|
|
|
@ -12,7 +12,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Processes an image with DeepAI DeepDream.',
|
description: 'Processes an image with DeepAI DeepDream.',
|
||||||
description_short: 'DeepDream image processing',
|
description_short: 'DeepDream image processing',
|
||||||
examples: ['deepdream'],
|
|
||||||
category: 'broken',
|
category: 'broken',
|
||||||
usage: 'deepdream <image>'
|
usage: 'deepdream <image>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Upscales an image with SuperResolution.',
|
description: 'Upscales an image with SuperResolution.',
|
||||||
description_short: 'SuperResolution upscaling',
|
description_short: 'SuperResolution upscaling',
|
||||||
examples: ['superresolution'],
|
|
||||||
category: 'broken',
|
category: 'broken',
|
||||||
usage: 'superresolution <image>'
|
usage: 'superresolution <image>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Generates an image with DeepAI Text2Image using a text prompt.',
|
description: 'Generates an image with DeepAI Text2Image using a text prompt.',
|
||||||
description_short: 'Image from text prompt',
|
description_short: 'Image from text prompt',
|
||||||
examples: ['text2image Mushroom'],
|
|
||||||
category: 'broken',
|
category: 'broken',
|
||||||
usage: 'text2image <image>'
|
usage: 'text2image <image>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Processes an image with Waifu2x.',
|
description: 'Processes an image with Waifu2x.',
|
||||||
description_short: 'Waifu2x upscaling',
|
description_short: 'Waifu2x upscaling',
|
||||||
examples: ['waifu2x'],
|
|
||||||
category: 'broken',
|
category: 'broken',
|
||||||
usage: 'waifu2x <image>'
|
usage: 'waifu2x <image>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,7 +14,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Generates an animated gif with the MakeSweet billboard template.',
|
description: 'Generates an animated gif with the MakeSweet billboard template.',
|
||||||
description_short: 'Animated billboard generation',
|
description_short: 'Animated billboard generation',
|
||||||
examples: ['billboard'],
|
|
||||||
category: 'image',
|
category: 'image',
|
||||||
usage: 'billboard'
|
usage: 'billboard'
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,7 +14,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Generates an animated gif with the MakeSweet circuit board template.',
|
description: 'Generates an animated gif with the MakeSweet circuit board template.',
|
||||||
description_short: 'Animated circuit board generation',
|
description_short: 'Animated circuit board generation',
|
||||||
examples: ['circuitboard'],
|
|
||||||
category: 'image',
|
category: 'image',
|
||||||
usage: 'circuitboard'
|
usage: 'circuitboard'
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,7 +14,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Generates an animated gif with the MakeSweet flag template.',
|
description: 'Generates an animated gif with the MakeSweet flag template.',
|
||||||
description_short: 'Animated flag generation',
|
description_short: 'Animated flag generation',
|
||||||
examples: ['flag'],
|
|
||||||
category: 'image',
|
category: 'image',
|
||||||
usage: 'flag'
|
usage: 'flag'
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,7 +14,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Displays information about the server.',
|
description: 'Displays information about the server.',
|
||||||
description_short: 'Information about the server',
|
description_short: 'Information about the server',
|
||||||
examples: ['guild'],
|
|
||||||
category: 'info',
|
category: 'info',
|
||||||
usage: 'server'
|
usage: 'server'
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,7 +9,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Displays the server icon.',
|
description: 'Displays the server icon.',
|
||||||
description_short: 'Server icon',
|
description_short: 'Server icon',
|
||||||
examples: ['gi'],
|
|
||||||
category: 'info',
|
category: 'info',
|
||||||
usage: 'guildicon'
|
usage: 'guildicon'
|
||||||
},
|
},
|
||||||
|
|
|
@ -15,7 +15,6 @@ module.exports = {
|
||||||
metadata: {
|
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: '__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',
|
description_short: 'Cross-platform music search',
|
||||||
examples: ['aud'],
|
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'audio'
|
usage: 'audio'
|
||||||
},
|
},
|
||||||
|
|
|
@ -37,7 +37,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Returns image search results from Microsoft Bing.',
|
description: 'Returns image search results from Microsoft Bing.',
|
||||||
description_short: 'Search on Bing Images',
|
description_short: 'Search on Bing Images',
|
||||||
examples: ['bing Large Magenta Sphere'],
|
examples: ['bing Eurasian Small Clawed Otter'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'bing <query>'
|
usage: 'bing <query>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -101,7 +101,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Returns search results from Microsoft Bing.',
|
description: 'Returns search results from Microsoft Bing.',
|
||||||
description_short: 'Search on Bing',
|
description_short: 'Search on Bing',
|
||||||
examples: ['bing Flask'],
|
examples: ['bing Eurasian Small Clawed Otter'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'bing <query>'
|
usage: 'bing <query>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -37,7 +37,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Returns image search results from Google.',
|
description: 'Returns image search results from Google.',
|
||||||
description_short: 'Search on Google Images',
|
description_short: 'Search on Google Images',
|
||||||
examples: ['image Large Magenta Sphere'],
|
examples: ['image Eurasian Small Clawed Otter'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'image <query>'
|
usage: 'image <query>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -60,7 +60,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Returns search results from Google.',
|
description: 'Returns search results from Google.',
|
||||||
description_short: 'Search on Google',
|
description_short: 'Search on Google',
|
||||||
examples: ['google Flask'],
|
examples: ['google Eurasian Small Clawed Otter'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'google <query>'
|
usage: 'google <query>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -40,7 +40,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Performs a reverse-image-search.',
|
description: 'Performs a reverse-image-search.',
|
||||||
description_short: 'Reverse image search',
|
description_short: 'Reverse image search',
|
||||||
examples: ['reverseimage'],
|
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'reverse <image>'
|
usage: 'reverse <image>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -51,7 +51,7 @@ module.exports = {
|
||||||
description: 'Returns image search results from various rule34-focused sites.',
|
description: 'Returns image search results from various rule34-focused sites.',
|
||||||
description_short: 'Search on rule34 sites',
|
description_short: 'Search on rule34 sites',
|
||||||
explicit: true,
|
explicit: true,
|
||||||
examples: ['r34 sex -site rule34'],
|
examples: ['r34 vaporeon -site e621'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'rule34 <query> [-site <service>]'
|
usage: 'rule34 <query> [-site <service>]'
|
||||||
},
|
},
|
||||||
|
|
|
@ -43,7 +43,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Returns search results from UrbanDictionary. Might include profanity.\nProviding no search query will return random results.',
|
description: 'Returns search results from UrbanDictionary. Might include profanity.\nProviding no search query will return random results.',
|
||||||
description_short: 'Search on UrbanDictionary',
|
description_short: 'Search on UrbanDictionary',
|
||||||
examples: ['ud Flask'],
|
examples: ['ud urbandictionary'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'urbandictionary <query>'
|
usage: 'urbandictionary <query>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,11 +9,12 @@ const { Permissions } = require("detritus-client/lib/constants");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'weather',
|
name: 'weather',
|
||||||
|
aliases: ['forecast'],
|
||||||
label: 'query',
|
label: 'query',
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Displays information about the weather.',
|
description: 'Displays information about the weather.',
|
||||||
description_short: 'Local weather information',
|
description_short: 'Local weather information',
|
||||||
examples: ['weather Berlin'],
|
examples: ['weather Otter, Germany'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'weather <location>'
|
usage: 'weather <location>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -50,7 +50,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Computes a query using Wolfram|Alpha.',
|
description: 'Computes a query using Wolfram|Alpha.',
|
||||||
description_short: 'Compute via Wolfram|Alpha',
|
description_short: 'Compute via Wolfram|Alpha',
|
||||||
examples: ['wa 1+1'],
|
examples: ['wa x^2+5x+6=0', 'wa 5€ to $', 'wa 5\'11 to cm'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'wolframalpha <query>'
|
usage: 'wolframalpha <query>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -98,7 +98,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Returns search results from YouTube.',
|
description: 'Returns search results from YouTube.',
|
||||||
description_short: 'Search YouTube videos, channels and playlists',
|
description_short: 'Search YouTube videos, channels and playlists',
|
||||||
examples: ['youtube Google'],
|
examples: ['youtube otter live cam'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'youtube <query>'
|
usage: 'youtube <query>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -41,7 +41,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Returns dictionary definitions for words.',
|
description: 'Returns dictionary definitions for words.',
|
||||||
description_short: 'Dictionary word definitions.',
|
description_short: 'Dictionary word definitions.',
|
||||||
examples: ['dictionary Flask'],
|
examples: ['dictionary Walking'],
|
||||||
category: 'search',
|
category: 'search',
|
||||||
usage: 'define <query>'
|
usage: 'define <query>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -39,7 +39,7 @@ module.exports = {
|
||||||
metadata: {
|
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: 'Displays 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.',
|
description_short: 'Get emoji/sticker source images, mix two emoji together.',
|
||||||
examples: ['enlarge 😀', 'emojimix 🐱 🍞'],
|
examples: ['e 😀', 'emojimix 🐱 🍞'],
|
||||||
category: 'utils',
|
category: 'utils',
|
||||||
usage: 'emoji <emoji> [<emoji to mix>]'
|
usage: 'emoji <emoji> [<emoji to mix>]'
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,6 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Uses Optical Character Recognition to detect text in images.',
|
description: 'Uses Optical Character Recognition to detect text in images.',
|
||||||
description_short: 'Image text recognition.',
|
description_short: 'Image text recognition.',
|
||||||
examples: ['ocr'],
|
|
||||||
category: 'utils',
|
category: 'utils',
|
||||||
usage: 'ocr <attachment>'
|
usage: 'ocr <attachment>'
|
||||||
},
|
},
|
||||||
|
|
|
@ -15,7 +15,7 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Uses Optical Character Recognition to translate text in an image.',
|
description: 'Uses Optical Character Recognition to translate text in an image.',
|
||||||
description_short: 'Image text recognition + translation.',
|
description_short: 'Image text recognition + translation.',
|
||||||
examples: ['ocrtr en'],
|
examples: ['ocrtr en -from pl'],
|
||||||
category: 'utils',
|
category: 'utils',
|
||||||
usage: 'ocrtr <language> [-from <origin language>]'
|
usage: 'ocrtr <language> [-from <origin language>]'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue