Hash update for marketplace
This commit is contained in:
parent
4538c3745e
commit
504a33f8f7
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user