async def METHOD_NAME(self, ctx: commands.Context):
    """View latency for all shards."""
    description = []
    latencies = []
    for shard_id, shard in self.bot.METHOD_NAME.items():
        latency = round(shard.latency * 1000, 2)
        latencies.append(latency)
        description.append(f"#{shard_id}: {latency}ms")
    average_ping = sum(latencies) / len(latencies)
    if average_ping >= 1000:
        color = discord.Colour.red()
    elif average_ping >= 200:
        color = discord.Colour.orange()
    else:
        color = discord.Colour.green()
    e = discord.Embed(color=color, title="Shard Pings", description="\n".join(description))
    e.set_footer(text=f"Average: {round(average_ping, 2)}ms")
    await ctx.send(embed=e)