Skip to content

Commit

Permalink
[Music] Better message in mu clear if queue is already empty
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-ristovic committed Dec 27, 2022
1 parent a7e5746 commit ca35cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TheGodfather/Modules/Music/MusicModule.Queue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public Task ClearAsync(CommandContext ctx)
{
int removed = this.Player.EmptyQueue();
if (removed == 0)
throw new CommandFailedException(ctx);
throw new CommandFailedException(ctx, TranslationKey.str_music_queue_none);

return ctx.InfoAsync(this.ModuleColor, Emojis.Headphones, TranslationKey.fmt_music_del_many(removed));
}
Expand Down

0 comments on commit ca35cc2

Please sign in to comment.