From 24b976c040d718a6656d0876cd970fe5d3d4596d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 23 Aug 2021 13:26:27 +0200 Subject: [PATCH] fix bug when no user given --- src/cogs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/utils.py b/src/cogs/utils.py index 5a57bbe..a69023b 100644 --- a/src/cogs/utils.py +++ b/src/cogs/utils.py @@ -347,7 +347,7 @@ class Utils(commands.Cog): if len(user) <= 1: if user == (): - user = [ctx.author] + user = ctx.author else: user = user[0] member_obj = ctx.guild.get_member(user.id)