woops, fixed #426 , no longer saying queue full when its not

This commit is contained in:
Kwoth 2016-07-20 22:51:41 +02:00
parent c5c9e98b51
commit 2e6bdc9f08
2 changed files with 1 additions and 3 deletions

View File

@ -27,8 +27,6 @@ namespace NadekoBot.Modules.Music.Classes
public class MusicPlayer
{
public static int MaximumPlaylistSize => 50;
private IAudioClient audioClient { get; set; }
private readonly List<Song> playlist = new List<Song>();

View File

@ -151,7 +151,7 @@ namespace NadekoBot.Modules.Music
else if (musicPlayer.RepeatPlaylist)
toSend += "🔁";
toSend += $" **{musicPlayer.Playlist.Count}** `tracks currently queued. Showing page {page}` ";
if (musicPlayer.Playlist.Count >= MusicPlayer.MaximumPlaylistSize)
if (musicPlayer.Playlist.Count >= musicPlayer.MaxQueueSize)
toSend += "**Song queue is full!**\n";
else
toSend += "\n";