Browse Source

Updated CommandsHandler.rb

Removed my own commands, added sample commands.
master
Tearzz 6 years ago
committed by GitHub
parent
commit
6c54ad934a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 8 deletions
  1. +1
    -8
      CommandsHandler.rb

+ 1
- 8
CommandsHandler.rb View File

@ -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"

Loading…
Cancel
Save