Add server tracker

This commit is contained in:
xBelladonna 2019-04-17 21:36:36 +09:30 committed by Astrid
parent 875729258e
commit d081be838a

View File

@ -76,7 +76,7 @@ def run(config: Config):
print("{} servers".format(len(client.guilds))) print("{} servers".format(len(client.guilds)))
print("{} shards".format(client.shard_count or 1)) print("{} shards".format(client.shard_count or 1))
await client.change_presence(activity=discord.Game(name="pk;help")) await client.change_presence(activity=discord.Game(name="pk;help \u2014 in {} servers".format(len(client.guilds))))
@client.event @client.event
async def on_message(message: discord.Message): async def on_message(message: discord.Message):