'How should I make my 8ball command to answer a specific answer to a specific question in Discord.py?
My code for 8ball is this:
async def klausimas(ctx):
choices = ["Blah blah blah", "Blah blah blah"]
ranquestion = random.choice(choices)
await ctx.send(ranquestion)
How should I make it, so if someone for example asked this: "/klausimas is insert youtuber name good?" and the answer would be: "Yes, they are good." Could somebody help please? I don't really know how to do it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|