rubydium 0.3.5 → 0.3.6

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
  SHA256:
3
- metadata.gz: ee189034adf5cc71d909a3a592aab9f1066f994ee3914f8d8d5c6e80e1a5faf3
4
- data.tar.gz: 381ab88806a8557bb10defb367befd058648f002570dfa044c5f7a16d94f7808
3
+ metadata.gz: 25b7c60f1b5de37d7df492f2bafc20f1cba006a98884345c5d961b45282d6333
4
+ data.tar.gz: dddc9b3caa3211391748b4847490f6ab9540b35f710151bd5cbddd92e9ed7bfa
5
5
  SHA512:
6
- metadata.gz: c3554cfb402b4f5c3e053795dcb7b8b5938217991a5ef4b842f77634593bd13f68c08be3b4bd7e382e90cd90456e159c0ac8d672c304ddfb0d3525ef40ba5148
7
- data.tar.gz: 0c17430324d459d43758ab29b894422e1dca8bf3a7d619c320d47529a266fbf5a5cfa87527814c5a44a30758b46a8320c0294c22278eddb61dc7b9842596948e
6
+ metadata.gz: 4490a2d8a9392814f15295efb7def77de860f3e1b96a42b181c4682aeea93fbde061bd82067ce1de570ee24ff574b4d8fb4b9622aea9d7fd2c22c95789b1ee17
7
+ data.tar.gz: 1b9f21ec1aff8ec3e751c92573417fb050c242718ae907699dc1c7f57461c98c0758bb918bccadbb84a73abf080d83ade11e2dccb02f687326165e2b902e3fa5
@@ -5,7 +5,7 @@ module Rubydium
5
5
  message = definitely_message(maybe_message)
6
6
  return false unless message&.from&.id == config.bot_id # also returns if it's nil
7
7
 
8
- safe_delete_by_id(message.id)
8
+ safe_delete_by_id(message.message_id)
9
9
  end
10
10
 
11
11
  def safe_delete_by_id(id)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rubydium
4
- VERSION = "0.3.5"
4
+ VERSION = "0.3.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubydium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - bulgakke