from vkbottle import Bot
from vkbottle.bot import Message
bot = Bot(token='group_token')
bot.labeler.vbml_ignore_case = True
@bot.on.message(text=['айди', '!айди'])
async def user_id(message: Message):
uid = message.reply_message.from_id
await message.answer(f'Айди: {str(uid)}')
bot.run_forever()