mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
organize
This commit is contained in:
parent
6e1a5f1cdb
commit
5da051b3b1
8 changed files with 10 additions and 5 deletions
|
@ -14,11 +14,12 @@ module.exports = {
|
||||||
description: 'Ask AI questions. May not be accurate.',
|
description: 'Ask AI questions. May not be accurate.',
|
||||||
description_short: 'AI questions',
|
description_short: 'AI questions',
|
||||||
examples: ['ask How many otter species are there?'],
|
examples: ['ask How many otter species are there?'],
|
||||||
category: 'hidden',
|
category: 'broken',
|
||||||
usage: 'ask <prompt>'
|
usage: 'ask <prompt>'
|
||||||
},
|
},
|
||||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.READ_MESSAGE_HISTORY],
|
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.READ_MESSAGE_HISTORY],
|
||||||
run: async (context, args) => {
|
run: async (context, args) => {
|
||||||
|
return;
|
||||||
context.triggerTyping();
|
context.triggerTyping();
|
||||||
if (!args.text) return editOrReply(context, createEmbed("warning", context, `Missing Parameter (text).`))
|
if (!args.text) return editOrReply(context, createEmbed("warning", context, `Missing Parameter (text).`))
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -12,11 +12,12 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Upscales an image with SuperResolution.',
|
description: 'Upscales an image with SuperResolution.',
|
||||||
description_short: 'SuperResolution upscaling',
|
description_short: 'SuperResolution upscaling',
|
||||||
category: 'image',
|
category: 'broken',
|
||||||
usage: 'superresolution <image>'
|
usage: 'superresolution <image>'
|
||||||
},
|
},
|
||||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
||||||
run: async (context) => {
|
run: async (context) => {
|
||||||
|
return;
|
||||||
context.triggerTyping();
|
context.triggerTyping();
|
||||||
try{
|
try{
|
||||||
let image = await getRecentImage(context, 50)
|
let image = await getRecentImage(context, 50)
|
||||||
|
|
|
@ -12,11 +12,12 @@ 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',
|
||||||
category: 'hidden',
|
category: 'broken',
|
||||||
usage: 'text2image <image>'
|
usage: 'text2image <image>'
|
||||||
},
|
},
|
||||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
||||||
run: async (context, args) => {
|
run: async (context, args) => {
|
||||||
|
return;
|
||||||
context.triggerTyping();
|
context.triggerTyping();
|
||||||
try{
|
try{
|
||||||
if(!args.text) return editOrReply(context, createEmbed("warning", context, "Missing parameter (text)."))
|
if(!args.text) return editOrReply(context, createEmbed("warning", context, "Missing parameter (text)."))
|
||||||
|
|
|
@ -12,11 +12,12 @@ module.exports = {
|
||||||
metadata: {
|
metadata: {
|
||||||
description: 'Processes an image with Waifu2x.',
|
description: 'Processes an image with Waifu2x.',
|
||||||
description_short: 'Waifu2x upscaling',
|
description_short: 'Waifu2x upscaling',
|
||||||
category: 'image',
|
category: 'broken',
|
||||||
usage: 'waifu2x <image>'
|
usage: 'waifu2x <image>'
|
||||||
},
|
},
|
||||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
||||||
run: async (context) => {
|
run: async (context) => {
|
||||||
|
return;
|
||||||
context.triggerTyping();
|
context.triggerTyping();
|
||||||
try{
|
try{
|
||||||
let image = await getRecentImage(context, 50)
|
let image = await getRecentImage(context, 50)
|
||||||
|
|
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
description: 'Edits an image using AI.',
|
description: 'Edits an image using AI.',
|
||||||
description_short: 'AI image editing',
|
description_short: 'AI image editing',
|
||||||
examples: ['editimage Wearing a crown'],
|
examples: ['editimage Wearing a crown'],
|
||||||
category: 'image',
|
category: 'broken',
|
||||||
usage: 'editimage <prompt>'
|
usage: 'editimage <prompt>'
|
||||||
},
|
},
|
||||||
ratelimit: {
|
ratelimit: {
|
||||||
|
@ -24,6 +24,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
||||||
run: async (context, args) => {
|
run: async (context, args) => {
|
||||||
|
return;
|
||||||
if (!args.prompt) return editOrReply(context, createEmbed("warning", context, "Missing prompt."))
|
if (!args.prompt) return editOrReply(context, createEmbed("warning", context, "Missing prompt."))
|
||||||
|
|
||||||
let image = await getRecentImage(context, 50)
|
let image = await getRecentImage(context, 50)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue