Hash update for marketplace

This commit is contained in:
Cal Corum 2023-09-12 21:06:04 -05:00
parent 4538c3745e
commit 504a33f8f7
2 changed files with 3 additions and 3 deletions

View File

@ -728,7 +728,7 @@ class Economy(commands.Cog):
)
if not purchase:
await question.edit(
f'That didn\'t go through for some reason. If this happens again, go ping the shit out of Cal.',
content=f'That didn\'t go through for some reason. If this happens again, go ping the shit out of Cal.',
view=None
)
return

View File

@ -178,8 +178,8 @@ async def post_to_dex(player, team):
def team_hash(team):
hash_string = f'{team["abbrev"]}{team["gmid"] / 123:.0f}'
return hash(hash_string)
hash_string = f'{team["sname"][-1]}{team["gmid"] / 6950123:.0f}{team["sname"][-2]}{team["gmid"] / 42069123:.0f}'
return hash_string