This commit is contained in:
parent
787276cfc8
commit
3229f94590
6
bot.py
6
bot.py
@ -9,9 +9,9 @@ logging.basicConfig(level=logging.DEBUG)
|
|||||||
# Initialize bot and dispatcher
|
# Initialize bot and dispatcher
|
||||||
bot = Bot(token=API_TOKEN)
|
bot = Bot(token=API_TOKEN)
|
||||||
dp = Dispatcher(bot)
|
dp = Dispatcher(bot)
|
||||||
@dp.message_handler(commands=['start', 'help'])
|
# @dp.message_handler(commands=['start', 'help'])
|
||||||
async def send_welcome(message: types.Message):
|
# async def send_welcome(message: types.Message):
|
||||||
await message.reply("Дарова пидорас!")
|
# await message.reply("Дарова пидорас!")
|
||||||
|
|
||||||
async def send_welcome(message: types.Message):
|
async def send_welcome(message: types.Message):
|
||||||
kb = [types.KeyboardButton(text="Пошел на хуй"), types.KeyboardButton(text="Нет, ты!")]
|
kb = [types.KeyboardButton(text="Пошел на хуй"), types.KeyboardButton(text="Нет, ты!")]
|
||||||
|
Loading…
Reference in New Issue
Block a user