@client.command()
@commands.has_permissions(kick_members=True)
async def mute(ctx, member: discord.Member = None):
if not member:
await ctx.send('Please specify a member!')
return
role = discord.utils.get(ctx.guild.roles, name="Muted")
await member.add_roles(role)
embed = discord.Embed(title=f"{member} has been muted!",
description=f"Responsible Moderator: {}\nCreated by 死 ? ??????? 死#0001", color=discord.Colour.blue())
embed.set_thumbnail(url=member.avatar_url)
await ctx.send(embed=embed)
Прочтите заголовок, я знаю, как я упоминаю, кто пишет команду