lita-discord_oauth 0.1.1.alpha.29 → 0.1.1.alpha.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/adapters/discord_oauth.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e151b13d81823ca3de93b6a54992eea2974adaf
|
4
|
+
data.tar.gz: c771e01fbbb84e185de4188501b2edbc1254a6de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9a3e54a25ebb7267012b5b2eb3a017f1601cb21e2fbf096eb1ce2dc5d322e1b8c705c0039aa58dccc01133ceae42dd8ce8a896002f34b0e1b009da29d4e7638
|
7
|
+
data.tar.gz: e790676fd257c46c40d631ffe8ed3502430b4ab40d7986044db4047a121acb9218dcd6eba05e8fbd5a9ec553a4f4a6fc3ca73c7acb0548f1f59a2ab6c137b6b4
|
@@ -47,12 +47,19 @@ module Lita
|
|
47
47
|
|
48
48
|
def send_messages(target, messages)
|
49
49
|
#TODO: Does Lita provide some odd user object?
|
50
|
+
puts target
|
51
|
+
puts target.user
|
52
|
+
|
50
53
|
mention = @client.user(target.user).mention
|
51
54
|
|
55
|
+
puts mention
|
56
|
+
|
52
57
|
messages.each do |message|
|
53
58
|
if mention
|
54
59
|
message = mention + ',\n' + message
|
55
60
|
|
61
|
+
puts message
|
62
|
+
|
56
63
|
@client.send_message(target.channel, message)
|
57
64
|
end
|
58
65
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-discord_oauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1.alpha.
|
4
|
+
version: 0.1.1.alpha.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cas Eliëns
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|