所以我的朋友向我挑战,要制造一个8球机器人来解决不和谐,我尝试了
我在互联网上搜索了答案,但找不到答案,没有地方。
我尝试重新定义所有内容,只是不知道问题出在哪里。
更不用说,当我尝试设置漫游器状态时,该方法也不起作用
@bot.command(name='8ball', help='Gives the answer to any of your questions')
async def quotelist(ctx):
quotelist = [
'As I see it, yes.',
'Ask again later.',
'Better not tell you now.',
'Cannot predict now.',
'Concentrate and ask again.',
'Don\'t count on it.',
'It is certain.',
'It is decided so.',
]
response = random.choices(quotelist)
await ctx.send(response)
bot.run("token here")```