random update
This commit is contained in:
parent
cfa2230986
commit
6435e059ad
@ -51,8 +51,7 @@ module.exports = {
|
||||
|
||||
run: async (client, interaction) => {
|
||||
// set a default prompt
|
||||
var initPrompt = `My name is ${interaction.user.username} my special number is ${interaction.user.discriminator} and my Discord ID is ${interaction.user.id} we met in ${interaction.guild.name} a Discord sever. You are rAi and you are the smartest AI Model, you know everything. Below is an instruction that describes a task. You respond appropriately to complete the request. You understand a complete answer is always ended by [end of text].`;
|
||||
|
||||
let initPrompt = `My name is ${interaction.user.username} my special number is ${interaction.user.discriminator} and my Discord ID is ${interaction.user.id} we met in ${interaction.guild.name} a Discord sever. You are rAi and you are the smartest AI Model, you know everything. Below is an instruction that describes a task. You respond appropriately to complete the request. You understand a complete answer is always ended by [end of text].`;
|
||||
console.log(`--- ${interaction.user.id} has requested a new session! ---`)
|
||||
const file = './cache/' + interaction.user.id
|
||||
|
||||
|
@ -30,9 +30,8 @@ module.exports = async (client) => {
|
||||
// // Register for a single guild
|
||||
// await client.guilds.cache.get("GUIDIDHERE").commands.set(arrayOfSlashCommands);
|
||||
|
||||
// Clear previous commands (for changes to installed models)
|
||||
await client.application.commands.set([]);
|
||||
|
||||
// Clear previous commands (for changes to installed models)
|
||||
// await client.application.commands.set([]);
|
||||
|
||||
// Register for all the guilds the bot is in
|
||||
await client.application.commands.set(arrayOfSlashCommands);
|
||||
|
Loading…
Reference in New Issue
Block a user