clarify error message

This commit is contained in:
xenofem 2020-07-09 02:56:07 -04:00
parent 20fdde7f5f
commit ba657e1f86

View file

@ -221,7 +221,7 @@ async def handle_dm(message):
discriminator = match.group(2) discriminator = match.group(2)
matching_users = [u for u in client.users if u.name == name and u.discriminator == discriminator] matching_users = [u for u in client.users if u.name == name and u.discriminator == discriminator]
if len(matching_users) == 0: if len(matching_users) == 0:
await message.channel.send("sorry, I can't find user {}".format(handle)) await message.channel.send("sorry, I can't find user {}, it looks like they're not in any of the discords I'm in".format(handle))
else: else:
target = matching_users[0].id target = matching_users[0].id
if target in get_blocks().get(requester, []): if target in get_blocks().get(requester, []):