Skip to content

Commit

Permalink
Log total number of unique members in the bot's servers (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Roman authored Dec 6, 2023
1 parent a4273d8 commit 347fecb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ async def on_autopost_success():
logger.info("Posted server count (%s), shard count (%s)",
client.topggpy.guild_count, client.shard_count)

logger.info("Total bot member count (%s)",
len(set(client.get_all_members())))


@client.event
async def on_ready() -> None:
Expand Down

0 comments on commit 347fecb

Please sign in to comment.