twitch_chatter 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/twitch_chatter/bot.rb +2 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7be5a9dc4cec9cb95f04174f974e6c2ce330dd864a28a508765f47186e713a3c
4
- data.tar.gz: 5c17874c9d2c81be7808d6850a4b75b191f0900e46fe351f7cd6052b91bff2ff
3
+ metadata.gz: 968161587fb57212e83ef72cf5668675836850d387647b78801ee1eeb0b38200
4
+ data.tar.gz: d20ced88fb4b54254c51a763b859fcdc850939d5a4b4a9d3108e2c738f2af17e
5
5
  SHA512:
6
- metadata.gz: cedae2c82116db6442a267c0025274e6d84e90a30230c0a5ca685809f5b1aa98298ddb4c5d7c502327826f9763329ca80291943f04d289fcad98cb720a47b60c
7
- data.tar.gz: 8784a392060bcfb90a90ada5bbdace02a2741488cde7e3c08797ed45dac5dd797401ff51008174b48b5d40b5ddcf6ea3c5aa0d9233728ed8fa8d76d22948bcef
6
+ metadata.gz: 711bca18914b57de1c2aabb9f00707957564c74589693dca1f19ef9be3dc1d8c57753137a1840571326211c3eeac58bf70ec44dc754315ef1ce2e40fafd2c412
7
+ data.tar.gz: '097e9eea60255ab5cc1f5df2b918cb2422c46f3fb4d1523fd0c9ae8df64f1bb1a41c84b2e9af8e5cce49518a17bb5705694e59df3d1db0e6285aff79b88a62fe'
@@ -106,6 +106,8 @@ module Twitch
106
106
  # @example
107
107
  # bot.leave(:twitchgaming)
108
108
  def leave(streamer)
109
+ return unless ready?
110
+
109
111
  streamer = streamer.to_sym
110
112
  streams[streamer] = []
111
113
  @ws.write("PART ##{streamer}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitch_chatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Hackworth