From 4c0e59a03af16c687cdb6301a2f7c74228b96398 Mon Sep 17 00:00:00 2001 From: ThoughtfulCerebral Date: Sun, 11 Mar 2018 23:25:34 +0100 Subject: [PATCH] Updated line 42-44 Deleted non-existent commands from RubyTwitchChatBot template. Added comments to clarify use. --- TwitchBot.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TwitchBot.rb b/TwitchBot.rb index 36951e8..b62b036 100644 --- a/TwitchBot.rb +++ b/TwitchBot.rb @@ -39,9 +39,9 @@ message_count = 0 message_limit = Time.now.to_i # Commands -commands = ["!about","!uptime","!commands","!cortexio","!followed"] # Add commands here -api_commands = ["!followed","!uptime"] -admin_commands = ["!disconnect"] +commands = ["!examplecommand","!ping"] # Add commands here +api_commands = ["!followed","!uptime"] # API commands here +admin_commands = ["!disconnect"] # Channel owner commands here # Authorization Login socket.puts("PASS #{OAUTH}") # Send the password(oauth) to Twitch @@ -152,4 +152,4 @@ end # Loop to keep bot going while (running) do gets.chomp -end \ No newline at end of file +end