From 60e93488969a29f39a6ebb00680b4d999e65fc56 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 7 Jun 2017 21:19:31 -0500 Subject: [PATCH] Lower the playlist and option names --- cogs/playlist.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/playlist.py b/cogs/playlist.py index 3b3143f..4c013fa 100644 --- a/cogs/playlist.py +++ b/cogs/playlist.py @@ -250,6 +250,7 @@ class Playlist: await ctx.invoke(self.playlists) question = "Please provide what playlist you would like to edit, the playlists you have available are above." playlist = await self.get_response(ctx, question) + playlist = playlist.lower().strip() if not playlist: return if playlist not in names: @@ -270,6 +271,7 @@ 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