mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
adjust shimmer style
This commit is contained in:
parent
8d9f4d8431
commit
220165c555
2 changed files with 15 additions and 2 deletions
|
@ -3,7 +3,7 @@ const { gpt } = require('#api');
|
|||
const { createEmbed } = require('#utils/embed')
|
||||
const { editOrReply } = require('#utils/message')
|
||||
const { iconPill, stringwrap, smallIconPill } = require('#utils/markdown')
|
||||
const { STATICS } = require('#utils/statics');
|
||||
const { STATICS, STATIC_ASSETS } = require('#utils/statics');
|
||||
const { hasFeature } = require('#utils/testing');
|
||||
|
||||
// TODO: Turn this into a general purpose permissions constant
|
||||
|
@ -48,7 +48,15 @@ module.exports = {
|
|||
}
|
||||
|
||||
try{
|
||||
await editOrReply(context, createEmbed("ai_custom", context, STATICS.openai))
|
||||
await editOrReply(context, createEmbed("defaultNoFooter", context, {
|
||||
author: {
|
||||
iconUrl: STATICS.openai,
|
||||
name: ``
|
||||
},
|
||||
image: {
|
||||
url: STATIC_ASSETS.chat_loading_small
|
||||
}
|
||||
}))
|
||||
|
||||
let res = await gpt(context, prompt, input)
|
||||
res = res.response;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue