lita-discord_oauth 0.1.2.alpha.97 → 0.1.2.alpha.98
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/lita/handlers/discord_help.rb +0 -3
- data/locales/en.yml +6 -0
- 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: fe8fc5983db7e58f51ce8aa459e190188fc432a6
|
4
|
+
data.tar.gz: 39762195143ebf2626edb565b771d11b65432eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb22ddb01d6988d098b3350b700baaac51bd0b858f378cb99533d4288def56ecd05db28c5325edccc9b282c5dadfcf07b7104cf847f01455be7fe4a170bf9b38
|
7
|
+
data.tar.gz: 12a989cd51c9b40ce097e056ba211cf14898158b2b2bc3903603df5f5b511b857ef1556266e862623718f306316f36f19b3d13b6061562a604bf3a4b3163ab84
|
data/README.md
CHANGED
@@ -31,7 +31,7 @@ You can get both these values from [this page](https://discordapp.com/developers
|
|
31
31
|
|
32
32
|
## Usage
|
33
33
|
|
34
|
-
|
34
|
+
This bot overrides the default help provider
|
35
35
|
|
36
36
|
|
37
37
|
[travis-img]: https://img.shields.io/travis/cascer1/lita-discord_oauth.svg
|
@@ -33,7 +33,6 @@ module Lita
|
|
33
33
|
else
|
34
34
|
response.reply_privately("|||NOMENTION|||```\n#{message}\n```")
|
35
35
|
end
|
36
|
-
sleep(0.2)
|
37
36
|
}
|
38
37
|
|
39
38
|
if messages.length > 1
|
@@ -60,8 +59,6 @@ module Lita
|
|
60
59
|
part = get_message_part(message_copy, max_length)
|
61
60
|
|
62
61
|
Lita.logger.debug("Part: #{part}")
|
63
|
-
#FIXME: second part is not pushed to array
|
64
|
-
sleep(0.2)
|
65
62
|
part = message_copy.slice!(part)
|
66
63
|
messages.push(part)
|
67
64
|
|
data/locales/en.yml
CHANGED
@@ -2,3 +2,9 @@ en:
|
|
2
2
|
lita:
|
3
3
|
adapters:
|
4
4
|
discord_oauth:
|
5
|
+
handlers:
|
6
|
+
help:
|
7
|
+
help:
|
8
|
+
help_value: Lists help information for terms and command the robot will respond to.
|
9
|
+
help_command_key: help COMMAND
|
10
|
+
help_command_value: Lists help information for terms or commands that begin with COMMAND.
|