# To make a Membercount Command @bot.command() async def membercount(ctx): count = ctx.message.guild.member_count await ctx.message.reply(f"This server has {count} {'member' if count <= 1 else 'members'}")