So pretty much whats going on is I made this line of code for my bot:
@client.command(pass_context=True)
async def weewoo(ctx):
for _ in range(number_of_times):
await client.say('example command 1')
if client.wait_for_message(content='~patched'):
await client.say('example command 2')
break
And it works BUT when I run the bot and type the command it comes out like this:
example command 1
example command 2
And what I am trying to do is enter a command that starts spamming 'example command 1' and trying to end the spam with a command and it sending a message saying 'example command 2'. But instead it does that. If anyone could help that'd be dope.