mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -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: {
|
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',
|
||||||
category: 'broken',
|
category: 'hidden',
|
||||||
usage: 'deepdream <image>'
|
usage: 'deepdream <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,12 +12,11 @@ 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: 'broken',
|
category: 'hidden',
|
||||||
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,12 +12,11 @@ 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: 'broken',
|
category: 'hidden',
|
||||||
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, { embeds: [createEmbed("warning", context, "Missing parameter (text).")] })
|
if(!args.text) return editOrReply(context, { embeds: [createEmbed("warning", context, "Missing parameter (text).")] })
|
||||||
|
|
|
@ -12,12 +12,11 @@ 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: 'broken',
|
category: 'hidden',
|
||||||
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: 'broken',
|
category: 'hidden',
|
||||||
usage: 'editimage <prompt>'
|
usage: 'editimage <prompt>'
|
||||||
},
|
},
|
||||||
ratelimit: {
|
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],
|
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, { embeds: [createEmbed("warning", context, "Missing prompt.")] })
|
if(!args.prompt) return editOrReply(context, { embeds: [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