status channel.".format(config['statusChannel']))
await channel.send@bot.command() await ctx.send('The server status channel has been setcharacter
data['statusChannel'
所以事情是这样的,我用python和python.py做了一个不和谐的机器人,我做了一个命令,通过把用户id放在一个json文件中,让他们静音。as f:if not user.id in data:else:
await client.send_message(message.channel, "The user is already muted") 在"if not
如果我把这个放在main.py中,机器人就坏了,没有命令可以工作,但我没有错误async def on_message(message):
if client.user.mentioned_in但是每次我输入一些不一致的东西时,即使没有前缀,我也会收到这个错误。Documents\VSCODE\ Projects\activity role\cogs\commands.py",第17行,on_message if client.user.m