diff --git a/cogs/modmail.py b/cogs/modmail.py index 48fa89ab00..433f2bde6e 100644 --- a/cogs/modmail.py +++ b/cogs/modmail.py @@ -779,7 +779,7 @@ async def title(self, ctx, *, name: str): @checks.has_permissions(PermissionLevel.SUPPORTER) @checks.thread_only() @commands.cooldown(1, 600, BucketType.channel) - async def adduser(self, ctx, *users_arg: Union[discord.Member, discord.Role, str]): + async def adduser(self, ctx, *users_arg: Union[discord.User, discord.Role, str]): """Adds a user to a modmail thread `options` can be `silent` or `silently`. @@ -792,7 +792,7 @@ async def adduser(self, ctx, *users_arg: Union[discord.Member, discord.Role, str silent = True elif isinstance(u, discord.Role): users += u.members - elif isinstance(u, discord.Member): + elif isinstance(u, discord.User): users.append(u) for u in users: