add 3 other commands to the broken pile

This commit is contained in:
derpystuff 2023-06-25 12:54:01 +02:00
parent 58b22826df
commit bbafd7f48c
3 changed files with 6 additions and 3 deletions

View file

@ -14,7 +14,7 @@ module.exports = {
description_short: 'AI Anime image generation', description_short: 'AI Anime image generation',
explicit: true, explicit: true,
examples: ['anime otter'], examples: ['anime otter'],
category: 'image', category: 'broken',
usage: 'anime <text>' usage: 'anime <text>'
}, },
ratelimit: { ratelimit: {
@ -24,6 +24,7 @@ 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) => {
return;
if(!context.channel.nsfw) return editOrReply(context, {embeds:[createEmbed("nsfw", context)]}) if(!context.channel.nsfw) return editOrReply(context, {embeds:[createEmbed("nsfw", context)]})
if(args.query.length == 0) return editOrReply(context, {embeds:[createEmbed("warning", context, "Missing prompt")]}) if(args.query.length == 0) return editOrReply(context, {embeds:[createEmbed("warning", context, "Missing prompt")]})

View file

@ -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], permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES],
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)

View file

@ -13,7 +13,7 @@ module.exports = {
description: 'Uses Stable Diffusion to generate four images from a text prompt.', description: 'Uses Stable Diffusion to generate four images from a text prompt.',
description_short: 'Stable Diffusion image generation', description_short: 'Stable Diffusion image generation',
examples: ['genimg Otter, digital art'], examples: ['genimg Otter, digital art'],
category: 'image', category: 'broken',
usage: 'stability <text>' usage: 'stability <text>'
}, },
ratelimit: { ratelimit: {
@ -23,6 +23,7 @@ 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) => {
return;
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(()=>{