Skip to content

Commit

Permalink
fixup! enhance(rlstats): implement on-change message in full
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen committed Oct 30, 2024
1 parent 87cc2d1 commit 2ef7001
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rlstats/rlstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,9 +870,9 @@ async def notify_subscribed_channels(
if not (
before["tier"] == after["tier"] and after["tier"] in (0, len(RANKS) - 1)
):
diff = (after["tier"] * len(DIVISIONS) + after["division"]) - (
before["tier"] * len(DIVISIONS) + before["division"]
)
diff = (
int(after["tier"]) * len(DIVISIONS) + int(after["division"])
) - (int(before["tier"]) * len(DIVISIONS) + int(before["division"]))
self._add_diff_field(
embed,
"Division",
Expand Down

0 comments on commit 2ef7001

Please sign in to comment.