mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 01:42:30 -05:00
d.py 2.3 / pomelo changes (#6130)
Co-authored-by: Michael Oliveira <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
@@ -113,7 +113,9 @@ async def global_unique_user_finder(
|
||||
return user
|
||||
|
||||
maybe_matches = []
|
||||
async for user in AsyncIter(bot.users).filter(lambda u: u.name == arg or f"{u}" == arg):
|
||||
async for user in AsyncIter(bot.users).filter(
|
||||
lambda u: u.name == arg or u.global_name == arg or f"{u}" == arg
|
||||
):
|
||||
maybe_matches.append(user)
|
||||
|
||||
if guild is not None:
|
||||
|
||||
Reference in New Issue
Block a user