diff --git a/script.js b/script.js index 1f06edb..da484eb 100644 --- a/script.js +++ b/script.js @@ -2,22 +2,6 @@ const chatContainer = document.getElementById("chat-container"); const chat = document.getElementById("chat"); const userInput = document.getElementById("user-input"); -<<<<<<< HEAD -======= -const botResponses = { - "hello": "Hello there!", - "how are you": "I'm just a chatbot, but I'm here to help!", - "name": "My name is Mayzer. What's yours?", - "bye": "Goodbye! Have a great day!", - "help": "I can assist you with information or answer questions. Just ask!", - "thanks": "You're welcome!", - "default": "I'm not sure how to respond to that.", - "test": "I'm still working properly.", - "gimme a secret": "never gonna give you up, never gonna let you down, never gonna run around and desert you. never gonna make you cry, never gonna say goodbye, never gonna tell a lie and hurt you. Seriously, though, Mayzer is better than GPT (or is it?).", - "i'm dying": "Unfortunately, I am an AI, and do not have the ability do dial your local emergency number. Hope you get better!", -}; - ->>>>>>> 0dc3c2f422c71c5f7ddefbdaa73125318cc07d8d function appendUserMessage(message) { chat.innerHTML += `
${message}
`; } @@ -126,4 +110,4 @@ userInput.addEventListener("keyup", function(event) { sendUserMessageToAI(userMessage); } -}); +}); \ No newline at end of file