async def list_command(message: types.Message):
userslist = 'Список пользователей:\n'
for user in db.users.find():
name = user['name']
chatid = user['chat_id']
userslist += str(name) + ' ' + str(chatid)+'\n'
await message.answer(text=f'{userslist}')