From 6c54ad934ab54c20310f9534927d1af529b58b5a Mon Sep 17 00:00:00 2001 From: Tearzz Date: Thu, 19 Apr 2018 15:29:26 +0200 Subject: [PATCH] Updated CommandsHandler.rb Removed my own commands, added sample commands. --- CommandsHandler.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/CommandsHandler.rb b/CommandsHandler.rb index 05ea139..18a5e09 100644 --- a/CommandsHandler.rb +++ b/CommandsHandler.rb @@ -17,9 +17,7 @@ def HandleCommands(line) commands = [ "commands", - "cortexio", - "about", - "project",] + "chatbot",] replacements = [ ["USER", "@#{user}"], @@ -138,11 +136,6 @@ end # ----- CONSOLE COMMANDS ----- # -def Project(line) - line.slice!("project ") - File.write("Responses/project.txt", line) -end - def Clear() system "clear" or system "cls" puts "Type \"clear\" to clear terminal"