lita-discord_oauth 0.1.2.alpha.86 → 0.1.2.alpha.87
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/discord_help.rb +9 -2
- 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: ef4fbfe6b9a624c26066a76f446d3fad4e67ad97
|
4
|
+
data.tar.gz: b5f0a015b6f22f939471bdeb8dc5c2dc6101f0e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2e54cb170fa1e53d31dc699fc4bce78b0efa04e930767063fab5128e2d71267063c593a64425612af93ca31c267de8cb16b76ab51e77561ea93f9eee177ed11
|
7
|
+
data.tar.gz: 58a7de9086cf63e33b2c7e8e2021561c97521815b07b35653f32e0503210951d788d29c2959a348fd1cb45bb08977d374785a54506ae7d9dd8646d6645c35540
|
@@ -25,10 +25,17 @@ module Lita
|
|
25
25
|
|
26
26
|
Lita.logger.debug(messages)
|
27
27
|
|
28
|
-
messages.
|
28
|
+
# max = messages.length
|
29
|
+
|
30
|
+
messages.each { |message|
|
29
31
|
response.reply_privately("```\n#{message}\n```")
|
30
32
|
sleep(0.2)
|
31
|
-
|
33
|
+
}
|
34
|
+
|
35
|
+
# messages.each do |message|
|
36
|
+
# response.reply_privately("```\n#{message}\n```")
|
37
|
+
# sleep(0.2)
|
38
|
+
# end
|
32
39
|
|
33
40
|
if messages.length > 1
|
34
41
|
response.reply_privately('Sorry for splitting that up in multiple messages, Discord doesn\'t allow me to send responses longer than 2000 characters :(')
|