Ensure a response is given for the first question
This commit is contained in:
parent
b0a965031f
commit
ef531bd2d2
|
@ -267,6 +267,9 @@ class Playlist:
|
||||||
while True:
|
while True:
|
||||||
response = await self.get_response(ctx, q1)
|
response = await self.get_response(ctx, q1)
|
||||||
|
|
||||||
|
if not response:
|
||||||
|
break
|
||||||
|
|
||||||
if 'add' in response:
|
if 'add' in response:
|
||||||
# Ask the user what song to add, get the response, add it
|
# 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)
|
question = "What is the song you would like to add to {}?".format(playlist)
|
||||||
|
|
Loading…
Reference in a new issue