Fixed index for .qn
This commit is contained in:
parent
540209706d
commit
1358878773
@ -15,8 +15,6 @@ namespace NadekoBot.Modules.Games
|
|||||||
- Blackjack
|
- Blackjack
|
||||||
- Shiritori
|
- Shiritori
|
||||||
- Simple RPG adventure
|
- Simple RPG adventure
|
||||||
- The nunchi game
|
|
||||||
- Connect 4
|
|
||||||
*/
|
*/
|
||||||
public partial class Games : NadekoTopLevelModule<GamesService>
|
public partial class Games : NadekoTopLevelModule<GamesService>
|
||||||
{
|
{
|
||||||
|
@ -401,7 +401,7 @@ namespace NadekoBot.Modules.Music.Common
|
|||||||
if (Exited)
|
if (Exited)
|
||||||
return -1;
|
return -1;
|
||||||
Queue.Add(song);
|
Queue.Add(song);
|
||||||
return Queue.Count;
|
return Queue.Count - 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ namespace NadekoBot.Modules.Music
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var embed = new EmbedBuilder().WithOkColor()
|
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")} ")
|
.WithDescription($"{songInfo.PrettyName}\n{GetText("queue")} ")
|
||||||
.WithFooter(ef => ef.WithText(songInfo.PrettyProvider));
|
.WithFooter(ef => ef.WithText(songInfo.PrettyProvider));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user