import discord
from discord.ext import commands
bot = commands.Bot(command_prefix = "!")
@bot.command()
@commands.has_any_role(918921192419786793)
async def mute(ctx, member: discord.Member):
muteRole = discord.utils.get(ctx.message.guild.roles, id = ID ROLE)
await member.add_roles(muteRole)
await ctx.send(embed = discord.Embed(description = f"{member.mention} is muted.")<b>Исправил КУЧУ ошибок.</b>