Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Nov 2, 2024
2 parents 16f7d12 + 3aa31f6 commit 1af9495
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commands/leaderboards/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''

Expand Down
2 changes: 1 addition & 1 deletion commands/ticketing/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
):

Expand Down
2 changes: 1 addition & 1 deletion utility/startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1af9495

Please sign in to comment.