lita-discord_oauth 0.1.1.alpha.34 → 0.1.1.alpha.35

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: 89289532cb686e06a8924785578402a8fbb1494f
4
- data.tar.gz: b4eaeec0b26428d321b514f046fb3ae87b98966b
3
+ metadata.gz: bdbe435bba0d66ea3919b26a6f3f18429be48391
4
+ data.tar.gz: d5db2ad859a5759d49c0f12c1bb48f1e06a1f66b
5
5
  SHA512:
6
- metadata.gz: 022b4bc80dd250e9bc82b9da4fff0fc679c36e04f78e2c4c5f17640d347270dd605a607218eb26fbf9f0bb7dbfbe468e1f7f27432eb1cd341b40fb3c433d7138
7
- data.tar.gz: 67c8e164bd1fa64c7a5db7ebc023047f0fd6ef8b71049c11611dc7d1e397ee6bc9aceab4d4d8612dcc50e6242d0dc4836e99e12f8b02067dea38ff0f821279ba
6
+ metadata.gz: f031a3afe07d9264db8912dbbcd0c374f6d0012b179016d20fdf5d5660c339683e644580a0e23fd12cd8e65586be4efaf9b3bdc83c0c4a35273dd6549f11c747
7
+ data.tar.gz: 6ba4e9485c54bdb9ba2ed27bac130a928dc1101401bb5be5094321912f4abf4488a36f9f5f45488707b8d6a1b7f565d38d85282bae0065f6ecccc703a7d07b01
@@ -18,9 +18,8 @@ module Lita
18
18
 
19
19
  @client.message do |event|
20
20
  message = event.message
21
- message_text = message.content
22
21
 
23
- Lita.logger.debug('Message: ' + message)
22
+ Lita.logger.debug('Message: ' + message.content)
24
23
  Lita.logger.debug('Author ID: ' + message.author.id)
25
24
 
26
25
  user = Lita::User.find_by_id(message.author.id)
@@ -31,7 +30,7 @@ module Lita
31
30
  channel = event.channel.id
32
31
 
33
32
  source = Lita::Source.new(user: user, room: channel)
34
- msg = Lita::Message.new(robot, message_text, source)
33
+ msg = Lita::Message.new(robot, message.content, source)
35
34
 
36
35
  robot.receive(msg) #unless message.from_bot?
37
36
 
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.34
4
+ version: 0.1.1.alpha.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cas Eliëns