mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
add loading state gif to bard
This commit is contained in:
parent
29399b586e
commit
9b64f7eac9
4 changed files with 25 additions and 11 deletions
|
@ -33,7 +33,7 @@ module.exports = {
|
|||
|
||||
let input = args.text;
|
||||
|
||||
let prompt = 'You are a friendly chat bot designed to help people.\n- You should always use gender neutral pronouns when possible.\n- Try to keep your responses within 2000-4000 characters. This isn\'t required for more in-depth and detailed answers.'
|
||||
let prompt = 'You are a friendly chat bot designed to help people.\n- You should always use gender neutral pronouns when possible.\n- When answering a question, be concise and to the point.\n- Try to stay at around 500-1000 characters for most responses, unless more text is required to properly explain something.'
|
||||
if(args.prompt !== "") prompt = args.prompt
|
||||
|
||||
// Get content if the user replies to anything
|
||||
|
|
|
@ -3,7 +3,7 @@ const { createEmbed, formatPaginationEmbeds, page } = require("../../../labscore
|
|||
const { guildFeaturesField } = require("../../../labscore/utils/fields");
|
||||
const { icon, highlight, timestamp, link, iconPill, iconLinkPill } = require("../../../labscore/utils/markdown");
|
||||
const { editOrReply } = require("../../../labscore/utils/message");
|
||||
const { STATICS } = require("../../../labscore/utils/statics");
|
||||
const { STATICS, STATIC_ASSETS } = require("../../../labscore/utils/statics");
|
||||
|
||||
const { paginator } = require('../../../labscore/client');
|
||||
|
||||
|
@ -33,7 +33,7 @@ module.exports = {
|
|||
iconLinkPill('gitlab', OPEN_SOURCE_REPOSITORY_URL, 'Source Code'),
|
||||
].join('\n'),
|
||||
image: {
|
||||
url: STATICS.embedSpacerInvite
|
||||
url: STATIC_ASSETS.embed_invite_spacer
|
||||
}
|
||||
})})
|
||||
try{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue