VSCode不显示的代码建议不和.py

2024-04-19 03:31:36 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经安装了不和.py重写并尝试使用vscode编写代码,但intellisense无法使用它。当使用numpy或基本python模块时,它工作得很好,但它不适用于不和.py. 在

@client.event
async def on_message(message):
    # we do not want the bot to reply to itself
    if message.author == client.user:
        return
    message. # this shows no suggestions aside from other words in the code

这是一个picture


Tags: 模块theto代码pynumpyclientevent