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',
explicit: true,
examples: ['anime otter'],
category: 'image',
category: 'broken',
usage: 'anime <text>'
},
ratelimit: {
@ -24,6 +24,7 @@ module.exports = {
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES],
run: async (context, args) => {
return;
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")]})

View file

@ -14,7 +14,7 @@ module.exports = {
description: 'Edits an image using AI.',
description_short: 'AI image editing',
examples: ['editimage Wearing a crown'],
category: 'image',
category: 'broken',
usage: 'editimage <prompt>'
},
ratelimit: {
@ -24,6 +24,7 @@ module.exports = {
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES],
run: async (context, args) => {
return;
if(!args.prompt) return editOrReply(context, { embeds: [createEmbed("warning", context, "Missing prompt.")] })
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_short: 'Stable Diffusion image generation',
examples: ['genimg Otter, digital art'],
category: 'image',
category: 'broken',
usage: 'stability <text>'
},
ratelimit: {
@ -23,6 +23,7 @@ module.exports = {
},
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES],
run: async (context, args) => {
return;
let response = await editOrReply(context, { embeds: [createEmbed("loading", context, `Synthesizing images...`)] })
let noticeTimer = setTimeout(()=>{