From b84bd0a250c177a57d7d0cdc570b28cd03510d18 Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Mon, 22 Apr 2024 21:33:42 +0200 Subject: [PATCH] chore: change to v!ig instead of "ig" --- events/chatgptMessage.ts | 2 +- index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/events/chatgptMessage.ts b/events/chatgptMessage.ts index b3ed924..06b194d 100644 --- a/events/chatgptMessage.ts +++ b/events/chatgptMessage.ts @@ -11,7 +11,7 @@ export default discordEvent({ async execute(message) { if (message.channel.id !== process.env.CHATGPT_CHANNEL) return; if (message.author.bot) return; - if (message.content.includes('ig')) return; + if (message.content.includes('v!ig')) return; const systemMsg = "You are Vinci, a helpful Discord bot assistant which tries to answer all questions that your users ask. You MUST speak naturally, if you were texting somebody. Don't tell the user that you are an assistant as they already know. Markdown is supported, including headers, codeblocks, etc. You will also chat with spanish speaking users, so your responses MUST, without exception, be in the spanish language, including your responses down the line."; diff --git a/index.ts b/index.ts index ce1c994..e64f24a 100644 --- a/index.ts +++ b/index.ts @@ -64,7 +64,7 @@ client.on('ready', async () => { const statuses = [ { name: 'Minecraft', type: ActivityType.Playing }, { name: 'cómo escribe Javi', type: ActivityType.Watching }, - { name: 'quinto libro when', type: ActivityType.Watching }, + { name: 'sexto libro when', type: ActivityType.Watching }, { name: 'a Hermes', type: ActivityType.Watching }, { name: 'tus comandos', type: ActivityType.Listening }, { name: 'tu voz', type: ActivityType.Listening },