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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43564e35466cbf8067c9d6bcec17ef3d96b77c0a
4
- data.tar.gz: 06544e396a252f9a35dce866be92af3c40e31c4e
3
+ metadata.gz: 445d240461e29036dceea2aa3d3984150ae53910
4
+ data.tar.gz: fe0bec97b8bb0ff75076e1f53a908d7a6e556d3b
5
5
  SHA512:
6
- metadata.gz: f0246201fbc7075bf7a9c17a11041d5e1cad7ab4b34bbebae57b5afe836db2bed43041ec9bb75a3b6523214f701021d977ae5c139a3cb2d99b54884092adf2ef
7
- data.tar.gz: df58fdd0549cc9b0f53645ecfd98b89a950f8df38db631da0916ffb41b553a398ebbdb45fef3c713c63b4a539601c2da9de0a0899cd76f96ddba789b409fecad
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
 
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.2.alpha.47
4
+ version: 0.1.2.alpha.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cas Eliëns