Browse Source

Updated line 42-44

Deleted non-existent commands from RubyTwitchChatBot template.
Added comments to clarify use.
master
ThoughtfulCerebral 6 years ago
committed by GitHub
parent
commit
4c0e59a03a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      TwitchBot.rb

+ 4
- 4
TwitchBot.rb View File

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

Loading…
Cancel
Save