From 6d74f982f0b933c5b7ff8062aaf926ea6d8c9b9a Mon Sep 17 00:00:00 2001 From: MagicTheDev <82341152+MagicTheDev@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:21:42 -0500 Subject: [PATCH 1/5] Update utils.py --- commands/leaderboards/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/leaderboards/utils.py b/commands/leaderboards/utils.py index f57a4c55..262b658f 100644 --- a/commands/leaderboards/utils.py +++ b/commands/leaderboards/utils.py @@ -68,7 +68,7 @@ async def hv_player_leaderboard( ) else: text += f'-# (#{i}) | {player.tag}\n' - if i % 25 == 0: + if i % 20 == 0: text_chunks.append(text) text = '' From a05393d01b77d6e87cdb37f4f71344fbdc900ffc Mon Sep 17 00:00:00 2001 From: MagicTheDev <82341152+MagicTheDev@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:49:53 -0500 Subject: [PATCH 2/5] Update startup.py --- utility/startup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/startup.py b/utility/startup.py index 540e7c1c..2b974543 100644 --- a/utility/startup.py +++ b/utility/startup.py @@ -88,7 +88,7 @@ def calculate_shard_distribution(total_shards, total_clusters): cluster_kwargs = { 'shard_ids': shard_ids, - 'shard_count': TOTAL_SHARDS, + 'shard_count': len(shard_ids), } return cluster_kwargs From fb8803167bfdeb80e6c0c9e5d75c2aefe5fb9d8c Mon Sep 17 00:00:00 2001 From: MagicTheDev <82341152+MagicTheDev@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:59:48 -0500 Subject: [PATCH 3/5] Update startup.py --- utility/startup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/startup.py b/utility/startup.py index 2b974543..1fa056d7 100644 --- a/utility/startup.py +++ b/utility/startup.py @@ -75,7 +75,7 @@ def calculate_shard_distribution(total_shards, total_clusters): return shard_distribution - TOTAL_SHARDS = config.total_clusters + TOTAL_SHARDS = config.total_clusters * 2 shard_distribution = calculate_shard_distribution(TOTAL_SHARDS, config.total_clusters) From dd858fa737ac28ada900de31bf8a864d389c2c9b Mon Sep 17 00:00:00 2001 From: MagicTheDev <82341152+MagicTheDev@users.noreply.github.com> Date: Tue, 1 Oct 2024 10:03:28 -0500 Subject: [PATCH 4/5] Update startup.py --- utility/startup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/startup.py b/utility/startup.py index 1fa056d7..d1bcc4ff 100644 --- a/utility/startup.py +++ b/utility/startup.py @@ -88,7 +88,7 @@ def calculate_shard_distribution(total_shards, total_clusters): cluster_kwargs = { 'shard_ids': shard_ids, - 'shard_count': len(shard_ids), + 'shard_count': TOTAL_SHARDS, } return cluster_kwargs From 3aa31f65ace3c6ff8b427711552394e048e8870a Mon Sep 17 00:00:00 2001 From: MagicTheDev <82341152+MagicTheDev@users.noreply.github.com> Date: Sat, 12 Oct 2024 12:49:17 -0500 Subject: [PATCH 5/5] Update commands.py --- commands/ticketing/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/ticketing/commands.py b/commands/ticketing/commands.py index 0e17f5a9..80741e12 100644 --- a/commands/ticketing/commands.py +++ b/commands/ticketing/commands.py @@ -267,7 +267,7 @@ async def ticket_roles( self, ctx: disnake.ApplicationCommandInteraction, ticket_button: tuple[str, str] = commands.Param(autocomplete=autocomplete.ticket_panel_buttons, converter=convert.ticket_button), - mode=commands.Param(choices=['Add to', 'Remove Roles']), + mode=commands.Param(choices=['Add Roles', 'Remove Roles']), remove=commands.Param(default='False', choices=['True']), ):