From 1512f259a7d87692c2080587083d164cdee26530 Mon Sep 17 00:00:00 2001 From: TheSmallBlue <ilanmori@hotmail.com> Date: Sun, 20 Dec 2020 22:15:39 -0300 Subject: [PATCH] Make it so that spaces don't matter ONE guy asked for this, so yeah sure why not --- launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.py b/launch.py index 52ae7d5..3ca49f3 100644 --- a/launch.py +++ b/launch.py @@ -62,7 +62,7 @@ async def on_ready(): async def on_message(message): if message.author == client.user: return - if "show me a kumiko" in message.content.lower(): + if "showmeakumiko" in message.content.lower().replace(' ',''): postnumber = random.randint(1,totalimgs) await message.channel.send(embed = create_embed(posts[postnumber],authors[postnumber],posturls[postnumber])) -- GitLab