【发布时间】:2022-01-19 06:02:55
【问题描述】:
错误:'Bot' Has No Attribute Called 'wait_for_reaction',这是代码:
if int(pp) >= 19:
gh = await message.send('''
Your Number Is Higher Or Is 20... Click ⬆ To Continue''')
await gh.add_reaction("⬆")
await bot.wait_for_reaction('⬆', gh)
顺便说一句bot = command.Bot()
【问题讨论】:
-
请包括您对
bot的定义、它所扩展的类以及您正在使用的库(如果可能,请提供版本)
标签: python discord discord.py message