rateless_bot 0.3.1 → 0.3.2

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: b20f64a0fe6b035a06e59b97abc84faa8d006540
4
- data.tar.gz: 90e9475f2363c21fb7b2c48486648dd92d9652d7
3
+ metadata.gz: 6e0cef5ee4dad023b92369f90d375fa5b3ebb50b
4
+ data.tar.gz: 4934a189779b1bb984420b632a8091fb47e1f01e
5
5
  SHA512:
6
- metadata.gz: 0f7b2d59cb508b88bda8c58254e4577fc22f510f110f02ff23f0b14c40b412e2c927ec9d406f30ab708df567caf01aeb71c543406703b3553e72285bafd8a670
7
- data.tar.gz: cfdc4e4fe4006e1d5ac0a1bc544ff2884c27351a4f7c81ba398917c379d48fcb1fcfaab868ddb502e2be27ba64b286ba960188f254fb5abcee4c8ea41eff62a0
6
+ metadata.gz: 9cc86e469814384f1d547383f6bcfeb848c9648338b123ed92ca12ff84da5e6656b3879e86323e9a58fe180cca766ea61e05231781eb6499518c7195e582cde3
7
+ data.tar.gz: 48981a9d9c651b8b90f508a61d2394dc14086ac22e756ba75651884d92218cf5bb0b7421f4235f1aca3b89633eb0dec534e7b9864bef5b14b45e1bb8aea8e86c
@@ -2,6 +2,10 @@ require 'cinch'
2
2
  require 'lastfm'
3
3
 
4
4
  class LastFM
5
+ def help
6
+ '!lastfm USERNAME - get a given user\'s most recently scrobbled track'
7
+ end
8
+
5
9
  include Cinch::Plugin
6
10
 
7
11
  def initialize(*args)
@@ -15,7 +19,7 @@ class LastFM
15
19
  user = m.message.split('!lastfm ')[1]
16
20
  scrobbles = @lastfm.user.get_recent_tracks(:user => user)
17
21
  track = scrobbles[0]
18
-
22
+
19
23
 
20
24
  m.reply make_track_str(track)
21
25
  end
@@ -1,3 +1,3 @@
1
1
  module RatelessBot
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rateless_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Heuken