async def send_guild_stats(self, e, guild):
    e.add_field(name='Name', value=guild.name)
    e.add_field(name='ID', value=guild.id)
    e.add_field(name='Shard ID', value=(guild.shard_id or 'N/A'))
    e.add_field(name='Owner', value=f'{guild.owner} (ID: {guild.owner.id})')
    bots = sum((m.bot for m in guild.members))
    total = guild.member_count
    online = sum(((m.status is discord.Status.online) for m in guild.members))
    e.add_field(name='Members', value=str(total))
    e.add_field(name='Bots', value=f'{bots} ({(bots / total):.2%})')
    e.add_field(name='Online', value=f'{online} ({(online / total):.2%})')
    if guild.icon:
        e.set_thumbnail(url=guild.icon_url)
    if guild.me:
        e.timestamp = guild.me.joined_at
    (await self.webhook.send(embed=e))
async def send_guild_stats(self, e, guild):
    e.add_field(name='Name', value=guild.name)
    e.add_field(name='ID', value=guild.id)
    e.add_field(name='Shard ID', value=(guild.shard_id or 'N/A'))
    e.add_field(name='Owner', value=f'{guild.owner} (ID: {guild.owner.id})')
    bots = sum((m.bot for m in guild.members))
    total = guild.member_count
    online = sum(((m.status is discord.Status.online) for m in guild.members))
    e.add_field(name='Members', value=str(total))
    e.add_field(name='Bots', value=f'{bots} ({(bots / total):.2%})')
    e.add_field(name='Online', value=f'{online} ({(online / total):.2%})')
    if guild.icon:
        e.set_thumbnail(url=guild.icon_url)
    if guild.me:
        e.timestamp = guild.me.joined_at
    (await self.webhook.send(embed=e))