Check shard command and sharding support for fetch msg script

This commit is contained in:
Jeremy Zhang
2018-03-24 17:04:09 +00:00
parent 200947e78f
commit da8ef6cdd1
2 changed files with 17 additions and 7 deletions

View File

@ -39,3 +39,5 @@ class Commands():
async def server(self, message):
await message.channel.send("Join the Titan Embeds Discord server! https://discord.gg/pFDDtcN")
async def shard(self, message):
await message.channel.send("This instance of Titan Embeds Discord Bot is running on shard **{}**. There are **{}** shards in total.".format(self.client.shard_id, self.client.shard_count))