From f0d6689f0c52d8b858e0be4ffd906b563926a5d4 Mon Sep 17 00:00:00 2001 From: bignutty <3515180-bignutty@users.noreply.gitlab.com> Date: Sun, 17 Nov 2024 01:58:04 +0100 Subject: [PATCH] fix stars --- commands/interaction/slash/search/maps.js | 2 +- commands/message/search/maps.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/interaction/slash/search/maps.js b/commands/interaction/slash/search/maps.js index 21f6756..090abc8 100644 --- a/commands/interaction/slash/search/maps.js +++ b/commands/interaction/slash/search/maps.js @@ -29,7 +29,7 @@ function renderPlaceCard(context, place) { if (place.ratings?.score) { let ratingString = ""; - ratingString += icon("maps_star_half").repeat(Math.floor(place.ratings.score)) + ratingString += icon("maps_star").repeat(Math.floor(place.ratings.score)) if (place.ratings.score < 5) { if ((place.ratings.score - Math.floor(place.ratings.score)) >= 0.5) ratingString += icon("maps_star_half") diff --git a/commands/message/search/maps.js b/commands/message/search/maps.js index 98b1c68..79c445e 100644 --- a/commands/message/search/maps.js +++ b/commands/message/search/maps.js @@ -29,7 +29,7 @@ function renderPlaceCard(context, place) { if (place.ratings?.score) { let ratingString = ""; - ratingString += icon("maps_star_half").repeat(Math.floor(place.ratings.score)) + ratingString += icon("maps_star").repeat(Math.floor(place.ratings.score)) if (place.ratings.score < 5) { if ((place.ratings.score - Math.floor(place.ratings.score)) >= 0.5) ratingString += icon("maps_star_half")