1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Move when the response is lowered

This commit is contained in:
Phxntxm 2017-06-17 18:05:40 -05:00
parent 01ebe5bf21
commit 601561fc94

View file

@ -271,11 +271,12 @@ class Playlist:
# We want to loop this in order to continue editing, till the user is done
while True:
response = await self.get_response(ctx, q1)
response = response.lower().strip()
if not response:
break
response = response.lower().strip()
if 'add' in response:
# Ask the user what song to add, get the response, add it
question = "What is the song you would like to add to {}?".format(playlist)