mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
re-enable deepai commands
This commit is contained in:
parent
86a9ec11bd
commit
c6a403a254
5 changed files with 5 additions and 10 deletions
|
@ -12,12 +12,11 @@ module.exports = {
|
|||
metadata: {
|
||||
description: 'Processes an image with DeepAI DeepDream.',
|
||||
description_short: 'DeepDream image processing',
|
||||
category: 'broken',
|
||||
category: 'hidden',
|
||||
usage: 'deepdream <image>'
|
||||
},
|
||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
||||
run: async (context) => {
|
||||
return;
|
||||
context.triggerTyping();
|
||||
try{
|
||||
let image = await getRecentImage(context, 50)
|
||||
|
|
|
@ -12,12 +12,11 @@ module.exports = {
|
|||
metadata: {
|
||||
description: 'Upscales an image with SuperResolution.',
|
||||
description_short: 'SuperResolution upscaling',
|
||||
category: 'broken',
|
||||
category: 'hidden',
|
||||
usage: 'superresolution <image>'
|
||||
},
|
||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
||||
run: async (context) => {
|
||||
return;
|
||||
context.triggerTyping();
|
||||
try{
|
||||
let image = await getRecentImage(context, 50)
|
||||
|
|
|
@ -12,12 +12,11 @@ module.exports = {
|
|||
metadata: {
|
||||
description: 'Generates an image with DeepAI Text2Image using a text prompt.',
|
||||
description_short: 'Image from text prompt',
|
||||
category: 'broken',
|
||||
category: 'hidden',
|
||||
usage: 'text2image <image>'
|
||||
},
|
||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
||||
run: async (context, args) => {
|
||||
return;
|
||||
context.triggerTyping();
|
||||
try{
|
||||
if(!args.text) return editOrReply(context, { embeds: [createEmbed("warning", context, "Missing parameter (text).")] })
|
||||
|
|
|
@ -12,12 +12,11 @@ module.exports = {
|
|||
metadata: {
|
||||
description: 'Processes an image with Waifu2x.',
|
||||
description_short: 'Waifu2x upscaling',
|
||||
category: 'broken',
|
||||
category: 'hidden',
|
||||
usage: 'waifu2x <image>'
|
||||
},
|
||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
||||
run: async (context) => {
|
||||
return;
|
||||
context.triggerTyping();
|
||||
try{
|
||||
let image = await getRecentImage(context, 50)
|
||||
|
|
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
description: 'Edits an image using AI.',
|
||||
description_short: 'AI image editing',
|
||||
examples: ['editimage Wearing a crown'],
|
||||
category: 'broken',
|
||||
category: 'hidden',
|
||||
usage: 'editimage <prompt>'
|
||||
},
|
||||
ratelimit: {
|
||||
|
@ -24,7 +24,6 @@ module.exports = {
|
|||
},
|
||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES, Permissions.READ_MESSAGE_HISTORY],
|
||||
run: async (context, args) => {
|
||||
return;
|
||||
if(!args.prompt) return editOrReply(context, { embeds: [createEmbed("warning", context, "Missing prompt.")] })
|
||||
|
||||
let image = await getRecentImage(context, 50)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue