在(C:\Users\tayla\documents\discord-bot\node_modules\discord.js\src\util\BitField.js:152:11) Function.resolveC:\Users\tayla\documents\discord-bot\node_modules\discord.js\src\util\BitField.js:147:54 at Array.map,(C:\Users\tayla\documents\discord-bot\node_mo
我已经创建了一个有5个齿轮的不和谐机器人,在每个机器人中我import discord, os, and from discord.ext import commands in各种其他齿轮,我import其他模块,如random,视情况而定,但这是三个常见的模块。问题是,在每个模块中,import discord都是灰色的(PyCharm集成开发环境),这表明它从未被使用过。尽管如此,我的机器人运行得很好。我似乎不能使用像wait_for()命令这样的东西,我猜是因为它在disc
我昨晚使用pip安装了discord库,但由于某种原因,当我使用import discord时,它抛出了一个错误: File "c:/Users/Jyotirmay Kumar Jha/VS CodeProjects/discord/test.py", line 2, in <module>ModuleNotFoundError: No module named'discord</em
class vol(discord.PCMVolumeTransformer): 错误: AttributeError: module 'discord' has no attribute 'PCMVolumeTransformer附言:我已经下载了discord.py和discord.pyvoice模块。(0.16.12版本)