Fixed index for .qn

This commit is contained in:
Master Kwoth 2017-08-06 11:49:27 +02:00
parent 540209706d
commit 1358878773
3 changed files with 2 additions and 4 deletions

View File

@ -15,8 +15,6 @@ namespace NadekoBot.Modules.Games
- Blackjack
- Shiritori
- Simple RPG adventure
- The nunchi game
- Connect 4
*/
public partial class Games : NadekoTopLevelModule<GamesService>
{

View File

@ -401,7 +401,7 @@ namespace NadekoBot.Modules.Music.Common
if (Exited)
return -1;
Queue.Add(song);
return Queue.Count;
return Queue.Count - 1;
}
}

View File

@ -126,7 +126,7 @@ namespace NadekoBot.Modules.Music
try
{
var embed = new EmbedBuilder().WithOkColor()
.WithAuthor(eab => eab.WithName(GetText("queued_song") + " #" + (index)).WithMusicIcon())
.WithAuthor(eab => eab.WithName(GetText("queued_song") + " #" + (index + 1)).WithMusicIcon())
.WithDescription($"{songInfo.PrettyName}\n{GetText("queue")} ")
.WithFooter(ef => ef.WithText(songInfo.PrettyProvider));