lita-discord_oauth 0.1.2.alpha.47 → 0.1.2.alpha.48
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 +1 -1
- 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: 445d240461e29036dceea2aa3d3984150ae53910
|
4
|
+
data.tar.gz: fe0bec97b8bb0ff75076e1f53a908d7a6e556d3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a2bb393c939c7111d89e9431392b15bd0ffea5e95f4bb48359acb7a5ca369964b0b00b2b254acbb8e72e04409555180eb1da9944088e3e5202155bbc87722b9
|
7
|
+
data.tar.gz: 05b06a1fc0dd134f3af9068eb5c417d2a91cabb94bd4df7000fdecf0581db43e4daa74fa203178283c56a98ce5e29af7c8be631d6d33e7531c1577bdef752dd4
|
@@ -27,7 +27,7 @@ module Lita
|
|
27
27
|
Lita.logger.debug('Received message from ' + author_id + ': ' + message.content)
|
28
28
|
|
29
29
|
user = Lita::User.find_by_id(author_id)
|
30
|
-
user = Lita::User.create(author_id) unless user
|
30
|
+
user = Lita::User.create(author_id, {name: message.author.display_name.to_s}) unless user
|
31
31
|
|
32
32
|
Lita.logger.debug('User ID: ' + user.id)
|
33
33
|
|