twitch_chatter 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/twitch_chatter/models/message.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 193ceae81b103758732ef016e0e34b27ca4aa713832651b3d02f9a3257a3476e
|
4
|
+
data.tar.gz: 5aeccc162a47745bcb05701654b05152c9fe7cd57d5afdbf7079fc4dec994b89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7546825f40ce5bc9b7e52b0d905e2012934e7201edea9cfeeede5ec335db73311205ec53020948a6d9cfe87fcdf7508dba53ababf490e98f00c3a0a5c498c299
|
7
|
+
data.tar.gz: 27de657b92438f202b9e2fa432473da14acc972e8b375377fe7c52acdf85d71382430db9f883ab270de591ff554fde2c7ff17f7d53f0aec631f934da7ea113a2
|
@@ -56,6 +56,12 @@ module Twitch
|
|
56
56
|
|
57
57
|
LINK = %r{(https?://[^\s]+)}
|
58
58
|
# @return [Array<String>] List of links mentioned in the message
|
59
|
+
# @example
|
60
|
+
# bot.join(:twitchgaming) do |message|
|
61
|
+
# if message.links.any?
|
62
|
+
# puts "Links: #{message.links.join(", ")}"
|
63
|
+
# end
|
64
|
+
# end
|
59
65
|
def links
|
60
66
|
return @links if @links
|
61
67
|
|