Ошибка @Bot.command()
TypeError: command() missing 1 required positional argument: 'self'.
Подскажите как исправить ошибку, код:
@Bot.command()
@commands.has_permissions(administrator = True)
async def mute(ctx, member: discord.Member, time: int, reason):
await ctx.channel.purge(limit = 1)
muterole = discord.utils.get(ctx.guild.roles, id = 807889764539826216)
emb = discord.Embed(title = "Mute", color = "ff0d0d")
emb.add_field(name = "Administrator", value = ctx.message.author.mention, inline = False)
emb.add_field(name = "User", value = member.mention, inline = False)
emb.add_field(name = "Reason", value = reason, inline = False)
emb.add_field(name = "Time", value = time, inline = False)
await member.add_roles(muterole)
await ctx.send(embed = emb)