Browse Source

Changed a small preview change.

Changed the preview of the recieved IRC Twitch message "PING!". Made it take up less of the screen.
master
ThoughtfulCerebral 6 years ago
committed by GitHub
parent
commit
778027f3cc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      TwitchBot.rb

+ 1
- 2
TwitchBot.rb View File

@ -74,8 +74,7 @@ Thread.start do
log.info("[IRC Message]: " + line) log.info("[IRC Message]: " + line)
log.info("[IRC Response]: PONG :tmi.twitch.tv") log.info("[IRC Response]: PONG :tmi.twitch.tv")
puts("-".bold.red*line.length) puts("-".bold.red*line.length)
puts "[Twitch] ".bold.cyan + "IRC: ".bold.yellow + line.bold.green
puts "[Response] ".bold.cyan + "IRC: ".bold.yellow + "PONG :tmi.twitch.tv".bold.green
puts "[Twitch] ".bold.cyan + "IRC: ".bold.yellow + line.bold.green
puts("-".bold.red*line.length) puts("-".bold.red*line.length)
end end
match = line.match(/^:(.+)!(.+)PRIVMSG ##{CHANNEL} :(.+)$/) match = line.match(/^:(.+)!(.+)PRIVMSG ##{CHANNEL} :(.+)$/)

Loading…
Cancel
Save