Skip to content

Commit

Permalink
Correctly parse the new counter
Browse files Browse the repository at this point in the history
  • Loading branch information
ZechCodes committed Sep 17, 2023
1 parent 2730640 commit b3810ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/member_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def on_ready(self):

def _parse_counter(self):
channel = self.client.get_channel(968972011407826954)
self._last_count = int(channel.name.replace(",", "").split()[-1])
self._last_count = int(channel.name.replace("k", "").split()[-1]) * 1000

def _update_member_counter(self):
self._schedule_update()
Expand Down

0 comments on commit b3810ba

Please sign in to comment.