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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bf9a5b77e638b3c3fc1a49074add2b2efde7494
4
- data.tar.gz: c9776f8c30e4b378c15a2f7aed7ac16500aefb28
3
+ metadata.gz: 8e151b13d81823ca3de93b6a54992eea2974adaf
4
+ data.tar.gz: c771e01fbbb84e185de4188501b2edbc1254a6de
5
5
  SHA512:
6
- metadata.gz: 1b196dc826a4c1ebebc4d6e0040b09de2da02ebd994746a865100a40ada6c0317b298bc1a4f02579feda9f0724fa85f9f20e1e08de5d8ba1f207ccbaa3586771
7
- data.tar.gz: fde28b1ea4b9ff087609303abd5ffb422d0d355298d2580808be6481e65226f4f0593696cc1ad3a6d8821b662ed569af04ac8fa9e94f19ec430e283bb544e74a
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.29
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-09 00:00:00.000000000 Z
11
+ date: 2017-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita