【发布时间】:2022-01-03 20:37:23
【问题描述】:
from discord.ext import commands
token = 'token goess here'
client = commands.bot(command_prefix = '__')
@client.event
async def on_ready():
print('Bot is ready')
client.run(token)
代码之前运行良好,现在我收到“TypeError: 'module' is not callable”错误 我找不到我的代码有什么问题,所以......知道出了什么问题吗? 谢谢
【问题讨论】:
标签: python python-3.x discord.py