【发布时间】:2021-07-27 00:57:16
【问题描述】:
await message.channel.send("please input the radius of the circle")
alg(int(message.content()))
await message.channel.send(alg)
每次我在第一条消息后输入一个数字时都会收到以下错误。
File "main.py", line 138, in on_message
alg(int(message.content()))
TypeError: 'str' object is not callable```
【问题讨论】:
标签: input discord discord.py bots