mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
change typing indicator
This commit is contained in:
parent
caa0a2c3dc
commit
6d67d0ba23
4 changed files with 10 additions and 10 deletions
|
@ -31,7 +31,7 @@ module.exports = {
|
|||
if(args.prompt !== "") prompt = args.prompt
|
||||
|
||||
try{
|
||||
await editOrReply(context, createEmbed("typing", context, "Generating response..."))
|
||||
await editOrReply(context, createEmbed("ai", context, "Generating response..."))
|
||||
|
||||
let res = await superagent.post(`${process.env.AI_SERVER}/openai`)
|
||||
.set({
|
||||
|
|
|
@ -24,7 +24,7 @@ module.exports = {
|
|||
context.triggerTyping();
|
||||
if(!args.text) return editOrReply(context, {embeds:[createEmbed("warning", context, `Missing Parameter (text).`)]})
|
||||
try{
|
||||
await editOrReply(context, createEmbed("typing", context, "Generating response..."))
|
||||
await editOrReply(context, createEmbed("ai", context, "Generating response..."))
|
||||
|
||||
let res = await superagent.post(`${process.env.AI_SERVER}/openai`)
|
||||
.set({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue