From a16a906add9b1d8c3395fbd93c394b7dc9f0d361 Mon Sep 17 00:00:00 2001 From: Yuki Joou Date: Wed, 22 Feb 2023 20:52:19 +0100 Subject: [PATCH] main: Fixed wonky comparaison --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index daabe76..f23368d 100755 --- a/main.py +++ b/main.py @@ -21,7 +21,7 @@ async def gif_handler(message: discord.Message, command: list[str]): gif_kind = command[0] target = message.author.name - if len(message.mentions) == 0: + if len(message.mentions) > 0: target = message.mentions[0].name if gif_kind not in gifs: