From 37a61bc46519183b7743baef4230b495b8c6a520 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sat, 24 Mar 2018 17:21:13 +0000 Subject: [PATCH] Shard command no longer returns None --- discordbot/titanembeds/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordbot/titanembeds/commands.py b/discordbot/titanembeds/commands.py index ece1c8f..8335186 100644 --- a/discordbot/titanembeds/commands.py +++ b/discordbot/titanembeds/commands.py @@ -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)) \ No newline at end of file + 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)) \ No newline at end of file