0

当我使用@client.event 时,它只是在它之后忽略@client.command,并且在我编写前缀+命令后什么也没有发生。我该如何帮助

@client.event
async def on_message(message):
    if message.content == userId:
        await message.reply("I asked not to ping me :')")

#It just ignores @client.command
@client.command()
async def halp(ctx):
    await ctx.send("No")
4

0 回答 0