I wanted to make an command to show the membercount but it doesn't work.
This is what I have:
@bot.command(name='membercount')
async def membercount(ctx):
await ctx.send(len(guild.member_count))
and this is the error i get:
Module 'discord.guild' has no 'member_count' member
I tried searching on the internet but didn't find a working option.