added a server counter to the on-ready event

This commit is contained in:
Sakimori 2021-01-18 02:36:24 -05:00
parent 4408e3272d
commit 838b005067

View file

@ -1028,7 +1028,7 @@ def config():
@client.event @client.event
async def on_ready(): async def on_ready():
db.initialcheck() db.initialcheck()
print(f"logged in as {client.user} with token {config()['token']}") print(f"logged in as {client.user} with token {config()['token']} to {len(client.guilds)} servers")
watch_task = asyncio.create_task(game_watcher()) watch_task = asyncio.create_task(game_watcher())
await watch_task await watch_task