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 +4 -4
- data/lib/lita/adapters/discord_oauth.rb +3 -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: 1325301c84375591429738fcc3c8c2d5b310588e
|
4
|
+
data.tar.gz: b136f36dbb7123a74ce43e9842cd129c8a039ffa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
63
|
+
@client.send_message(target.room, message)
|
63
64
|
end
|
64
65
|
end
|
65
66
|
end
|