Browse Source

Updated CommandsHandler.rb

Added error message for command "followed" if the user is the channel owner.
master
Tearzz 6 years ago
committed by GitHub
parent
commit
ef6a0d8715
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      CommandsHandler.rb

+ 2
- 0
CommandsHandler.rb View File

@ -145,6 +145,8 @@ def Followed(user)
response = "#{user} has been following #{CHANNEL} for " + response
end
response = "PRIVMSG ##{CHANNEL} :" + response
else
puts("[Command] ".bold.red + "#{user}: ".bold + "(YOU CAN'T FOLLOW YOURSELF)".bold.red)
end
log_msg = "[Command] #{user}: !followed"

Loading…
Cancel
Save