@commands.command(aliases=['guild', 'guildinfo', 'si'])
async def serverinfo(self, ctx):
    findbots = sum((1 for member in ctx.guild.members if member.bot))
    roles = sum((1 for role in ctx.guild.roles))
    embed = discord.Embed(title=(('Infomation about ' + ctx.guild.name) + '.'), colour=ctx.author.color)
    embed.set_thumbnail(url=str(ctx.guild.icon_url))
    embed.add_field(name="Guild's name: ", value=ctx.guild.name)
    embed.add_field(name="Guild's owner: ", value=str(ctx.guild.owner))
    embed.add_field(name="Guild's verification level: ", value=str(ctx.guild.verification_level))
    embed.add_field(name="Guild's id: ", value=f'`{ctx.guild.id}`')
    embed.add_field(name="Guild's member count: ", value=f'{ctx.guild.member_count}')
    embed.add_field(name='Bots', value=f'`{findbots}`', inline=True)
    embed.add_field(name='Guild created at: ', value=str(ctx.guild.created_at.strftime('%a, %d %B %Y, %I:%M %p UTC')))
    embed.add_field(name='Number of Roles:', value=f'`{roles}`')
    embed.set_footer(text='Bot Made by NightZan999#0194')
    embed.set_author(name=ctx.author.name, icon_url=ctx.author.avatar_url)
    (await ctx.send(embed=embed))
@commands.command(aliases=['guild', 'guildinfo', 'si'])
async def serverinfo(self, ctx):
    findbots = sum((1 for member in ctx.guild.members if member.bot))
    roles = sum((1 for role in ctx.guild.roles))
    embed = discord.Embed(title=(('Infomation about ' + ctx.guild.name) + '.'), colour=ctx.author.color)
    embed.set_thumbnail(url=str(ctx.guild.icon_url))
    embed.add_field(name="Guild's name: ", value=ctx.guild.name)
    embed.add_field(name="Guild's owner: ", value=str(ctx.guild.owner))
    embed.add_field(name="Guild's verification level: ", value=str(ctx.guild.verification_level))
    embed.add_field(name="Guild's id: ", value=f'`{ctx.guild.id}`')
    embed.add_field(name="Guild's member count: ", value=f'{ctx.guild.member_count}')
    embed.add_field(name='Bots', value=f'`{findbots}`', inline=True)
    embed.add_field(name='Guild created at: ', value=str(ctx.guild.created_at.strftime('%a, %d %B %Y, %I:%M %p UTC')))
    embed.add_field(name='Number of Roles:', value=f'`{roles}`')
    embed.set_footer(text='Bot Made by NightZan999#0194')
    embed.set_author(name=ctx.author.name, icon_url=ctx.author.avatar_url)
    (await ctx.send(embed=embed))