change typing indicator

This commit is contained in:
derpystuff 2023-08-12 19:03:09 +02:00
parent caa0a2c3dc
commit 6d67d0ba23
4 changed files with 10 additions and 10 deletions

View file

@ -79,11 +79,11 @@ const embedTypes = Object.freeze({
color: COLORS.embed
}
},
"typing": (context) => {
"ai": (context) => {
return {
author: {
iconUrl: STATIC_ICONS.typing,
name: `Loading`
iconUrl: STATIC_ICONS.ai,
name: `Generating`
},
color: COLORS.embed
}
@ -96,7 +96,7 @@ module.exports.createEmbed = function(type, context, content){
if(!content) embedTypes[type](context)
let emb = embedTypes[type](context)
if(["success","warning","error","loading","typing"].includes(type)){
if(["success","warning","error","loading","ai"].includes(type)){
emb.author.name = content
return emb
}