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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
CommandsHandler.rb
|
|
@ -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" |
|
|
|