update loading sprite

This commit is contained in:
derpystuff 2024-01-15 01:38:52 +01:00
parent 75b4586171
commit adde718ed9
2 changed files with 11 additions and 1 deletions

View file

@ -47,7 +47,12 @@ module.exports = {
if(!IMAGE_STYLES.includes(args.style.toLowerCase())) return editOrReply(context, createEmbed("warning", context, `Invalid Parameter (style).`))
try{
await editOrReply(context, createEmbed("ai", context, "Generating Image..."))
await editOrReply(context, createEmbed("defaultNoFooter", context, {
author: {
iconUrl: STATIC_ICONS.ai_image_processing,
name: "Generating images..."
}
}))
let res = await aiWallpaper(context, args.text, args.style.toLowerCase());

View file

@ -168,6 +168,10 @@ const Statics = Object.freeze({
file: "icons/flamingo/image_generation.png",
revision: 2
},
ai_image_processing: {
file: "icons/flamingo/image_processing.gif",
revision: 0
},
warning: {
file: "icons/core/ico_notice_warning.png",
revision: 3
@ -221,6 +225,7 @@ module.exports.STATIC_ICONS = Object.freeze({
ai_palm_idle: staticAsset(Statics.icons.ai_palm_idle),
ai_summary: staticAsset(Statics.icons.ai_summary),
ai_image: staticAsset(Statics.icons.ai_image),
ai_image_processing: staticAsset(Statics.icons.ai_image_processing),
warning: staticAsset(Statics.icons.warning)
})