我的代码如下:
@client.command()
async def oli(ctx):
@client.event
async def on_message(message):
if message.author.id == (id of the person who we want to mute):
await message.delete()
async def mute():
“删除消息”部分工作正常,但是我也希望服务器使用户静音