lita-discord_oauth 0.1.2.alpha.79 → 0.1.2.alpha.80
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 +2 -10
- 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: 2b6a08aff29771bde3f0b3020c03a5c24f0cc2d4
|
4
|
+
data.tar.gz: f9bbc1adca471c5d9d84c4ed6b5f8a6bf43cbf0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8081fabf4e9bdde8eb8310ede6b1e84f27f7134159058ac472e1a845f65398ceee97a00faee7cb2f6897e8fb9752024f47d345a327c5a40c372a26ee65e65901
|
7
|
+
data.tar.gz: 285689b04e2f4a896f76e1828e3683ed7e6a84911f3effd78a11e1a5dc3dc0d00302094b4f2f26c5f8eecc40026a15f00815fb750f8bce1b054badfc8d0c60cb
|
@@ -24,15 +24,7 @@ module Lita
|
|
24
24
|
messages = split_message(output)
|
25
25
|
|
26
26
|
messages.each do |message|
|
27
|
-
|
28
|
-
message = '```' + "\n" + message
|
29
|
-
end
|
30
|
-
|
31
|
-
if message[-3] != '```'
|
32
|
-
message = message + "\n" + '```'
|
33
|
-
end
|
34
|
-
|
35
|
-
response.reply_privately(message)
|
27
|
+
response.reply_privately("```\n#{message}\n```")
|
36
28
|
end
|
37
29
|
|
38
30
|
if messages.length > 1
|
@@ -56,7 +48,7 @@ module Lita
|
|
56
48
|
part = get_message_part(message_copy, max_length)
|
57
49
|
|
58
50
|
Lita.logger.debug("Part: #{part}")
|
59
|
-
|
51
|
+
#FIXME: second part is not pushed to array
|
60
52
|
messages.push(part)
|
61
53
|
message_copy.slice!(part)
|
62
54
|
end
|