Fixed index for .qn
This commit is contained in:
parent
540209706d
commit
1358878773
@ -15,8 +15,6 @@ namespace NadekoBot.Modules.Games
|
||||
- Blackjack
|
||||
- Shiritori
|
||||
- Simple RPG adventure
|
||||
- The nunchi game
|
||||
- Connect 4
|
||||
*/
|
||||
public partial class Games : NadekoTopLevelModule<GamesService>
|
||||
{
|
||||
|
@ -401,7 +401,7 @@ namespace NadekoBot.Modules.Music.Common
|
||||
if (Exited)
|
||||
return -1;
|
||||
Queue.Add(song);
|
||||
return Queue.Count;
|
||||
return Queue.Count - 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user