botkit 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/Gemfile.lock +1 -1
- data/lib/botkit/bot.rb +1 -1
- data/lib/botkit/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: 126b1d0a6961c78790abe15e3607474e0a2a61dc
|
4
|
+
data.tar.gz: fa8e1d968e252a674df3ffad99a8b4c50c9f2077
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5f8cbbb4a6f76699393e2f247c117aa5c66a3f490f453d550e63d294c702df6d312cd2f79d21b28b4e55448c6c95646a85e6990082ff91b0be3c917be214d66
|
7
|
+
data.tar.gz: af27da77e98237b8d1861b44b53c379e264f8ba061f74cfb139b12715dfe56b3d16830cca631fcc6d006839f00d848f9b2ad24592aa18d78364aa4fc9d388aeb
|
data/Gemfile.lock
CHANGED
data/lib/botkit/bot.rb
CHANGED
@@ -33,7 +33,7 @@ module Botkit
|
|
33
33
|
|
34
34
|
def parse_message(input, matcher = nil)
|
35
35
|
input = input.to_s
|
36
|
-
_, command, text = *input.match(%r{\A/([^ ]+)(?:\s+(.*?))?\z})
|
36
|
+
_, command, text = *input.match(%r{\A/([^ @]+)(?:@.*?bot)?(?:\s+(.*?))?\z}i)
|
37
37
|
matches = text.to_s.match(matcher) if matcher
|
38
38
|
|
39
39
|
{
|
data/lib/botkit/version.rb
CHANGED