mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Correct users count on boot. (#158)
This commit is contained in:
parent
1b8f6d26ad
commit
3a12d97b56
2
red.py
2
red.py
@ -40,7 +40,7 @@ lock = False
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
users = str(len([m for m in bot.get_all_members()]))
|
||||
users = str(len(set(bot.get_all_members())))
|
||||
servers = str(len(bot.servers))
|
||||
channels = str(len([c for c in bot.get_all_channels()]))
|
||||
bot.uptime = int(time.perf_counter())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user