lita-pebbles 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/pebbles.rb +6 -0
- data/lib/lita/pebbles/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f30d3050b0878ee750823c40712b96c7cef31660
|
4
|
+
data.tar.gz: 8bac2578a56482ddbe8c1a397264a8bbead5a645
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d791aa57faf92eb61e1d04971aabfdebfefdc388c318b1f38f5cfee4437c1727dbc86668c615837695fec64c88fcc8fd8c3fd7279b5e4b93e3a2405547d39c3
|
7
|
+
data.tar.gz: 200334e9b8d937cc578b3bf319006964a3102aaea880a91e1a3d65ecdea8f4226d47e0f3d7b0eb05b62ce1ccf17a2cb12b390e284c9d301f4fe652f887aedb6a
|
@@ -24,6 +24,12 @@ module Lita
|
|
24
24
|
response.reply response.matches[0][0]
|
25
25
|
end
|
26
26
|
|
27
|
+
route /つらい$/, :tsurai, command: false
|
28
|
+
def tsurai(response)
|
29
|
+
return if rand(2) == 0
|
30
|
+
response.reply "ねな( ˘ω˘)"
|
31
|
+
end
|
32
|
+
|
27
33
|
route /\( ?˘ω˘\)\"?/, :suya, command: false # " this comment is workaround for sublime text syntax highlighting
|
28
34
|
def suya(response)
|
29
35
|
return if rand(2) == 0
|
data/lib/lita/pebbles/version.rb
CHANGED