mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
sunset image commands
This commit is contained in:
parent
ed67725647
commit
3df52973f9
8 changed files with 30 additions and 3 deletions
|
@ -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")}`
|
||||
}
|
||||
|
||||
|
|
|
@ -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(()=>{
|
||||
|
|
|
@ -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."))
|
||||
|
||||
|
|
|
@ -20,6 +20,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."))
|
||||
|
||||
|
|
|
@ -20,6 +20,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."))
|
||||
|
||||
|
|
|
@ -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."))
|
||||
|
||||
|
|
|
@ -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).`))
|
||||
|
|
|
@ -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).`))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue