def queue_text(state):
    """Returns a block of text describing a given song queue."""
    index = 0
    if len(state.playlist) > 0:
        message = [f"{len(state.playlist)} songs in queue. Currently playing {state.current_index}"]
        message += [
            f"  {index}. **{song.title}** (requested by **{song.requested_by.name}**)"
            for (index, song) in state.playlist.items()
        ]  # add individual songs
        return "\n".join(message)
    else:
        return "The play queue is empty."