diff --git a/main.rb b/main.rb index b01cc14..1a518aa 100644 --- a/main.rb +++ b/main.rb @@ -97,13 +97,13 @@ bot.command :skip do |event| end bot.command :initialize do |event| - event.respond("loading last 20 songs from channel") + event.respond("loading last 50 messages from channel") channel = bot.channel(options[:channel_id]) - messages = channel.history(20) + messages = channel.history(50) messages.each do |msg| parse_songs_from_string(mpd,msg.content) end - nil + event.respond("done loading") end