Untitled
unknown
plain_text
2 years ago
975 B
9
Indexable
from aiogram import Bot, Dispatcher, executor, types from aiogram.types import KeyboardButton, ReplyKeyboardMarkup from config import API bot = Bot(API) dp = Dispatcher(bot) #keyboard startButtom = KeyboardButton("/start") kb_client = ReplyKeyboardMarkup(resize_keyboard=True) kb_client.add(startButtom) @dp.message_handler(commands=['start']) async def send_link(message: types.message): await message.answer("Канал с БДСМ хентом - \nhttps://t.me/+cKpB9C1N5mA5ODA0\nhttps://t.me/+cKpB9C1N5mA5ODA0\nhttps://t.me/+cKpB9C1N5mA5ODA0\n\nКанал с публичный/эксгибициониским хентом - \nhttps://t.me/+8-BcAg8hHcRhOTY0\nhttps://t.me/+8-BcAg8hHcRhOTY0\nhttps://t.me/+8-BcAg8hHcRhOTY0", reply_markup = kb_client) print(f"{message.from_user.username} - {message.from_user.id}\n\n") if __name__ == '__main__': print("Success, bot started now!") executor.start_polling(dp, skip_updates=True)
Editor is loading...