diff --git a/commands/message/core/help.js b/commands/message/core/help.js index d5c6439..aa46602 100644 --- a/commands/message/core/help.js +++ b/commands/message/core/help.js @@ -115,7 +115,8 @@ const categories = { "search": `${iconPill("mag", "Search Commands")}`, "utils": `${iconPill("tools", "Utility Commands")}`, "fun": `${iconPill("stars", "Fun Commands")}`, - "image": `${iconPill("image", "Image Commands")}`, +// Image Manipulation commands have been sunset as of 09/09/2024 +//"image": `${iconPill("image", "Image Commands")}`, "mod": `${iconPill("shield", "Moderation Commands")}` } diff --git a/commands/message/image/craiyon.js b/commands/message/image/craiyon.js index cb16aa7..5ea48c5 100644 --- a/commands/message/image/craiyon.js +++ b/commands/message/image/craiyon.js @@ -24,6 +24,10 @@ 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 editOrReply(context, createEmbed("default", context, { + description: `Image manipulation commands are **no longer supported** in ${context.client.application.name}.\n\nIf you're looking for a suitable replacement, check out ${link("https://canary.discord.com/oauth2/authorize?client_id=571661221854707713", "Assyst", "Invite Assyst Bot")}.` + })) await editOrReply(context, createEmbed("loading", context, `Synthesizing images...`)) let noticeTimer = setTimeout(()=>{ diff --git a/commands/message/image/makesweet/billboard.js b/commands/message/image/makesweet/billboard.js index 439e572..7bdc431 100644 --- a/commands/message/image/makesweet/billboard.js +++ b/commands/message/image/makesweet/billboard.js @@ -7,6 +7,8 @@ const { STATICS } = require("#utils/statics"); const { Permissions } = require("detritus-client/lib/constants"); const { billboardCityscape } = require("../../../../service/makesweet"); +const { description } = require("../../../interaction/slash/search/lyrics"); +const { link } = require("#utils/markdown"); module.exports = { name: 'billboard', @@ -20,6 +22,9 @@ 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 editOrReply(context, createEmbed("default", context, { + description: `Image manipulation commands are **no longer supported** in ${context.client.application.name}.\n\nIf you're looking for a suitable replacement, check out ${link("https://canary.discord.com/oauth2/authorize?client_id=571661221854707713", "Assyst", "Invite Assyst Bot")}.` + })) let image = await getRecentImage(context, 50) if (!image) return editOrReply(context, createEmbed("warning", context, "No images found.")) diff --git a/commands/message/image/makesweet/circuitboard.js b/commands/message/image/makesweet/circuitboard.js index 1a63569..5b996a2 100644 --- a/commands/message/image/makesweet/circuitboard.js +++ b/commands/message/image/makesweet/circuitboard.js @@ -19,7 +19,10 @@ 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 editOrReply(context, createEmbed("default", context, { + description: `Image manipulation commands are **no longer supported** in ${context.client.application.name}.\n\nIf you're looking for a suitable replacement, check out ${link("https://canary.discord.com/oauth2/authorize?client_id=571661221854707713", "Assyst", "Invite Assyst Bot")}.` + })) let image = await getRecentImage(context, 50) if(!image) return editOrReply(context, createEmbed("warning", context, "No images found.")) diff --git a/commands/message/image/makesweet/flag.js b/commands/message/image/makesweet/flag.js index a2b5230..acbec31 100644 --- a/commands/message/image/makesweet/flag.js +++ b/commands/message/image/makesweet/flag.js @@ -19,7 +19,10 @@ 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 editOrReply(context, createEmbed("default", context, { + description: `Image manipulation commands are **no longer supported** in ${context.client.application.name}.\n\nIf you're looking for a suitable replacement, check out ${link("https://canary.discord.com/oauth2/authorize?client_id=571661221854707713", "Assyst", "Invite Assyst Bot")}.` + })) let image = await getRecentImage(context, 50) if(!image) return editOrReply(context, createEmbed("warning", context, "No images found.")) diff --git a/commands/message/image/makesweet/heartlocket.js b/commands/message/image/makesweet/heartlocket.js index 884b1b0..e2cfcb3 100644 --- a/commands/message/image/makesweet/heartlocket.js +++ b/commands/message/image/makesweet/heartlocket.js @@ -21,6 +21,9 @@ 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 editOrReply(context, createEmbed("default", context, { + description: `Image manipulation commands are **no longer supported** in ${context.client.application.name}.\n\nIf you're looking for a suitable replacement, check out ${link("https://canary.discord.com/oauth2/authorize?client_id=571661221854707713", "Assyst", "Invite Assyst Bot")}.` + })) let image = await getRecentImage(context, 50) if(!image) return editOrReply(context, createEmbed("warning", context, "No images found.")) diff --git a/commands/message/image/photofunia/retro-wave.js b/commands/message/image/photofunia/retro-wave.js index 8f0592d..27700fe 100644 --- a/commands/message/image/photofunia/retro-wave.js +++ b/commands/message/image/photofunia/retro-wave.js @@ -23,6 +23,10 @@ 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 editOrReply(context, createEmbed("default", context, { + description: `Image manipulation commands are **no longer supported** in ${context.client.application.name}.\n\nIf you're looking for a suitable replacement, check out ${link("https://canary.discord.com/oauth2/authorize?client_id=571661221854707713", "Assyst", "Invite Assyst Bot")}.` + })) context.triggerTyping(); if(!args.text) return editOrReply(context, createEmbed("warning", context, `Missing Parameter (text).`)) diff --git a/commands/message/image/photofunia/yacht.js b/commands/message/image/photofunia/yacht.js index 91ff0ca..0352c3d 100644 --- a/commands/message/image/photofunia/yacht.js +++ b/commands/message/image/photofunia/yacht.js @@ -19,6 +19,10 @@ 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 editOrReply(context, createEmbed("default", context, { + description: `Image manipulation commands are **no longer supported** in ${context.client.application.name}.\n\nIf you're looking for a suitable replacement, check out ${link("https://canary.discord.com/oauth2/authorize?client_id=571661221854707713", "Assyst", "Invite Assyst Bot")}.` + })) context.triggerTyping(); if(!args.text) return editOrReply(context, createEmbed("warning", context, `Missing Parameter (text).`))