lita-discord_oauth 0.1.1.alpha.31 → 0.1.1.alpha.32

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: cec3106b14899a1a61720f56db92f9c7327c59e7
4
- data.tar.gz: 278b33515f447490b15a495c85a8686772f6bea8
3
+ metadata.gz: 1325301c84375591429738fcc3c8c2d5b310588e
4
+ data.tar.gz: b136f36dbb7123a74ce43e9842cd129c8a039ffa
5
5
  SHA512:
6
- metadata.gz: ae8eb67c5e4814e2feb0b35e0c3ae6f8d4151d8ae06388473ab1eff570864adbc4780c1659ef7c902561bf42f3ce15b6d59b52c02ec60a496b5376d8d8aca46e
7
- data.tar.gz: 69e4a24664f51b40252d89a87a570941dc2efc00012d6fc128ffd1e87362a58437890cb6a75f22e54940f77ef78ed41ed90080bb4713640a3e3ce2728c5dd9ba
6
+ metadata.gz: e2b26a6f73c51b1ac1ee735b574655b0f9535dd150eed7804a98db4256e3b62ca17d8b9562436fea72708effe5d37aa8982edc48b5025c4534bc6488a82b25e4
7
+ data.tar.gz: 318d1b7f9a2ee46fde8993174711571af29896e794b6e5d026eafea068f77c85b8d1428bc0b1d98377a959164434b0c6abac05fbe65c922466c60b83a88924b9
@@ -48,8 +48,9 @@ module Lita
48
48
  def send_messages(target, messages)
49
49
  puts target
50
50
  puts target.user
51
+ puts target.user.id
51
52
 
52
- mention = @client.user(target.user).mention
53
+ mention = @client.user(target.user.id).mention
53
54
 
54
55
  puts mention
55
56
 
@@ -59,7 +60,7 @@ module Lita
59
60
 
60
61
  puts message
61
62
 
62
- @client.send_message(target.channel, message)
63
+ @client.send_message(target.room, message)
63
64
  end
64
65
  end
65
66
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.31
4
+ version: 0.1.1.alpha.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cas Eliëns