dsu3 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 640c9953a32bc972d54f3d032163474bfc5f58add8d4f59a9064bacc0512e4e3
4
- data.tar.gz: 4fbc03d22f27b90ba2917eb81fb612691fe2be6bd35a6cd725d4d6f2de052496
3
+ metadata.gz: 77b2e807e3bfdf9b203d41a55e4311ef75bf30cf93ad649b29f20e1edd8a1519
4
+ data.tar.gz: d220312bcff98c284b5727a5dabdc1a429cff6d1528b4bbc913e3b4df181364c
5
5
  SHA512:
6
- metadata.gz: d4b473f3733e34377baf5316e3537aa9368cbf2db4987c5f3b446107925b4f8660f9ca3956f2c3c38a9ecdda45336e276f2a451449216ed2b325079606114371
7
- data.tar.gz: 222a46f109dbd7f684d1c86ad1e72c2d730e0e88ca038263f63c3390fb9812bef7702101d6672a93ab4dd1aaeff51b6dbaba717df0a1273226ce9f5645ab98a8
6
+ metadata.gz: bc9df6845ccaa0a71d2e8bdb477b5011c4ac89d3c763a3499338a1b818b00e4b4e9140d69f26fd9ab9819295ef58ea32daf0950579b5adc463b069c853b91c3e
7
+ data.tar.gz: 6c2cf6542b310e4b08fcc1b258356d33f291b177bab08b288f5cb435058a526d53e44c1d1462152ad77375558b3cdd07087fd595f6a2ff4cbaa43585e5e3e45e
@@ -9,12 +9,11 @@ module DSU3
9
9
  # Verifies the server member
10
10
  # @param [String] token Discord account token
11
11
  # @param [String, Integer] guild Guild ID
12
- # @param [String] invite Invite code
13
- def verify(token, guild, invite)
12
+ def verify(token, guild)
14
13
  DSU3::API.request(
15
14
  token, :get,
16
15
  "guilds/#{guild}/member-verification",
17
- { params: { with_guild: false, invite_code: invite } }
16
+ { params: { with_guild: false } }
18
17
  )
19
18
  end
20
19
  end
data/lib/dsu3/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DSU3
4
- VERSION = '0.9.2'
4
+ VERSION = '0.9.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dsu3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artur Sheremetjev IV