通过子进程库的Python Discord bot错误

时间:2019-03-04 21:42:12

标签: python discord

64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.019 ms
  File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 846, in process_commands
    yield from command.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 374, in invoke
    yield from injected(*ctx.args, **ctx.kwargs)
  File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 54, in wrapped
    raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Popen' object has no attribute 'comunicate'

1 个答案:

答案 0 :(得分:0)

AttributeError: 'Popen' object has no attribute 'comunicate'

您似乎正试图致电Popen.communicate(),但遇到错字了。