Я получаю id пользователя из папки, и переделываю в int.
elif n == ":":
mesg = mesg.join(wordo)
wordo.clear()
wordo.append(mesg)
print(wordo)
member = bot.get_user(mesg)
break
else:
await channel.send(f"Item ``{item}`` not found. ``>list`, to get list of items")
else:
await channel.send(f"u cant do it in this channel")
if findor == 1:
await author.send(f"U buying ``{item}`` from ``{member}``")
await member.get_user(mesg).send(f"``{author}`` want buy your ``{item}``")
elif findor == 0:
await channel.send(f"Item ``{item}`` not in sell.")
f
и получаю ошибку
AttributeError: 'NoneType' object has no attribute 'get_user'