From 878a5efe543cafc0a3f13e350659c8e559855bac Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 23 Jun 2020 05:08:35 +0100 Subject: [PATCH] Changed line 205 to .endswith instead of .startswith --- cogs/AnimeImages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/AnimeImages.py b/cogs/AnimeImages.py index 0873ee93..7eabe533 100644 --- a/cogs/AnimeImages.py +++ b/cogs/AnimeImages.py @@ -202,7 +202,7 @@ class Waifus(commands.Cog): await channel.send(nice) else: - if user_msg.startswith('~w') or user_msg.startswith('~h'): + if user_msg.endswith('~w') or user_msg.endswith('~h'): message = await channel.send(error_function()) # Let the user read the message for 2.5 seconds