From 5ad763f1dbbe0029be983ce39446a87ce4665507 Mon Sep 17 00:00:00 2001 From: spifory Date: Tue, 5 Sep 2023 10:38:07 +0200 Subject: [PATCH 1/2] refactor(stars): remove v3 star count --- cogs/stars.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cogs/stars.py b/cogs/stars.py index 69a3245..b7bc7df 100644 --- a/cogs/stars.py +++ b/cogs/stars.py @@ -24,8 +24,7 @@ async def get_stars(self, repo: str) -> int: async def update_stars(self): """Loop to check and update stars""" nextcord_stars = await self.get_stars("nextcord/nextcord") - nextcord_v3_stars = await self.get_stars("nextcord/nextcord-v3") - channel_name = f"v2 {nextcord_stars}🌟| v3 {nextcord_v3_stars}🌟" + channel_name = f"v2 {nextcord_stars}🌟" # update channel name if it has changed if self.__channel.name != channel_name: From 79774912d28ca2efd7e2a0c156415e592046c265 Mon Sep 17 00:00:00 2001 From: Luvuyo Khumalo Date: Thu, 17 Apr 2025 21:53:48 +0200 Subject: [PATCH 2/2] refactor(stars): remove versions from star count --- cogs/stars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/stars.py b/cogs/stars.py index b7bc7df..246ca48 100644 --- a/cogs/stars.py +++ b/cogs/stars.py @@ -24,7 +24,7 @@ async def get_stars(self, repo: str) -> int: async def update_stars(self): """Loop to check and update stars""" nextcord_stars = await self.get_stars("nextcord/nextcord") - channel_name = f"v2 {nextcord_stars}🌟" + channel_name = f"{nextcord_stars}🌟" # update channel name if it has changed if self.__channel.name != channel_name: