dsu3 0.3 → 0.3.1

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: 1bdb56aba1f99a4481ab5f9f77ca5b0ce9225018bc63e9ee6d2c6328293b4bd4
4
- data.tar.gz: 4e21edf7b3a559d2df17051d80afabf2ddfc2092173a0c21ad3799790cd3e866
3
+ metadata.gz: 784b8e875ba73a242236edf3a5623de6dba9c8546234f117db8a0e15ceb90ee2
4
+ data.tar.gz: 6637133b46a4fe93d22673a6737c66a644b853ef336eb050e099526cf3891162
5
5
  SHA512:
6
- metadata.gz: 23353ec18dc576ed7013887bf3807b8c9c180271de19ffaa6e064785fe587175cd44d70ef7096a162b342032bcc8395914e6bc54c03bf252ffec21c888545bde
7
- data.tar.gz: 41d794a77c78de9dac650012f841c3ddb921ef38080dda5d3e654c1e0a8974b5fc9f80a2964e91fc642c5fe168a351e1202357cec6aa2fc0072283068aea25a0
6
+ metadata.gz: 24883144dbdca199af341c19e213833d887349378ea0dbd2d17cc01e1f92389d31baf9fc889f15a92c9ecfe64d74b96f861e807732861aa5d9834d0c85e0c499
7
+ data.tar.gz: 408862f035b692fa792f655ed9f8d887e6ff2fcef75c3dfb39f64bc567a3fe3a3170ce43c808a9d593a20f1785206a04fc87b6518cc61cbef5ce6f0f79680263
data/lib/dsu3/bot.rb CHANGED
@@ -81,7 +81,7 @@ module DSU3
81
81
  request(
82
82
  :put,
83
83
  "channels/#{channel}/messages/#{message}/reactions/#{emoji}/@me",
84
- {params: {location: 'Message'}}
84
+ { params: { location: 'Message' } }
85
85
  )
86
86
  end
87
87
  end
data/lib/dsu3/core.rb CHANGED
@@ -15,7 +15,7 @@ module DSU3
15
15
  # (see Bot#type)
16
16
  def typespam(channel)
17
17
  loop do
18
- @bots.each(&:type)
18
+ @bots.each { |bot| bot.type(channel) }
19
19
  sleep 9
20
20
  end
21
21
  end
data/lib/dsu3.rb CHANGED
@@ -5,7 +5,7 @@ require 'dsu3/core'
5
5
 
6
6
  # Main DSU3 namespace
7
7
  module DSU3
8
- VERSION = '0.3'
8
+ VERSION = '0.3.1'
9
9
 
10
10
  LOGGER = Logger.new($stdout)
11
11
  LOGGER.level = Logger::WARN
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.3'
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artur Sheremetjev IV