woops, fixed #426 , no longer saying queue full when its not
This commit is contained in:
parent
c5c9e98b51
commit
2e6bdc9f08
@ -27,8 +27,6 @@ namespace NadekoBot.Modules.Music.Classes
|
|||||||
|
|
||||||
public class MusicPlayer
|
public class MusicPlayer
|
||||||
{
|
{
|
||||||
public static int MaximumPlaylistSize => 50;
|
|
||||||
|
|
||||||
private IAudioClient audioClient { get; set; }
|
private IAudioClient audioClient { get; set; }
|
||||||
|
|
||||||
private readonly List<Song> playlist = new List<Song>();
|
private readonly List<Song> playlist = new List<Song>();
|
||||||
|
@ -151,7 +151,7 @@ namespace NadekoBot.Modules.Music
|
|||||||
else if (musicPlayer.RepeatPlaylist)
|
else if (musicPlayer.RepeatPlaylist)
|
||||||
toSend += "🔁";
|
toSend += "🔁";
|
||||||
toSend += $" **{musicPlayer.Playlist.Count}** `tracks currently queued. Showing page {page}` ";
|
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";
|
toSend += "**Song queue is full!**\n";
|
||||||
else
|
else
|
||||||
toSend += "\n";
|
toSend += "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user