diff --git a/commands/system/new-chat.js b/commands/system/new-chat.js index 934f336..12fc2af 100644 --- a/commands/system/new-chat.js +++ b/commands/system/new-chat.js @@ -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 diff --git a/handler/index.js b/handler/index.js index a48a5cf..781d9eb 100644 --- a/handler/index.js +++ b/handler/index.js @@ -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);