mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
remove ugly ai loading embed
This commit is contained in:
parent
3aeb9bfdc7
commit
f11cb26560
7 changed files with 5 additions and 29 deletions
|
@ -26,9 +26,7 @@ module.exports = {
|
|||
try{
|
||||
let s = Date.now()
|
||||
await context.respond({data: {}, type: InteractionCallbackTypes.DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE})
|
||||
await context.editOrRespond({
|
||||
embeds: [createEmbed("loading_ai", context)]
|
||||
})
|
||||
|
||||
let res = await superagent.get(`${process.env.AI_SERVER}/gpt`)
|
||||
.query({
|
||||
model: MODEL,
|
||||
|
|
|
@ -25,9 +25,7 @@ module.exports = {
|
|||
try{
|
||||
let s = Date.now()
|
||||
await context.respond({data: {}, type: InteractionCallbackTypes.DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE})
|
||||
await context.editOrRespond({
|
||||
embeds: [createEmbed("loading_ai", context)]
|
||||
})
|
||||
|
||||
let res = await superagent.get(`${process.env.AI_SERVER}/gpt`)
|
||||
.query({
|
||||
model: MODEL,
|
||||
|
|
|
@ -25,9 +25,7 @@ module.exports = {
|
|||
try{
|
||||
let s = Date.now()
|
||||
await context.respond({data: {}, type: InteractionCallbackTypes.DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE})
|
||||
await context.editOrRespond({
|
||||
embeds: [createEmbed("loading_ai", context)]
|
||||
})
|
||||
|
||||
let res = await superagent.get(`${process.env.AI_SERVER}/gpt`)
|
||||
.query({
|
||||
model: MODEL,
|
||||
|
|
|
@ -25,9 +25,7 @@ module.exports = {
|
|||
try{
|
||||
let s = Date.now()
|
||||
await context.respond({data: {}, type: InteractionCallbackTypes.DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE})
|
||||
await context.editOrRespond({
|
||||
embeds: [createEmbed("loading_ai", context)]
|
||||
})
|
||||
|
||||
let res = await superagent.get(`${process.env.AI_SERVER}/gpt`)
|
||||
.query({
|
||||
model: MODEL,
|
||||
|
|
|
@ -25,9 +25,7 @@ module.exports = {
|
|||
try{
|
||||
let s = Date.now()
|
||||
await context.respond({data: {}, type: InteractionCallbackTypes.DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE})
|
||||
await context.editOrRespond({
|
||||
embeds: [createEmbed("loading_ai", context)]
|
||||
})
|
||||
|
||||
let res = await superagent.get(`${process.env.AI_SERVER}/gpt`)
|
||||
.query({
|
||||
model: MODEL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue