Shard command no longer returns None

This commit is contained in:
Jeremy Zhang 2018-03-24 17:21:13 +00:00
parent da8ef6cdd1
commit 37a61bc465

View File

@ -40,4 +40,4 @@ class Commands():
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))
await message.channel.send("This instance of Titan Embeds Discord Bot is running on shard **{}**. There are **{}** shards in total.".format(message.guild.shard_id, self.client.shard_count))