Update detailed_example.py

Vulgarity replaced.
This commit is contained in:
Badiboy 2020-01-03 19:24:10 +03:00
parent b5ba2445d3
commit 5cd97ebc96
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ commands = { # command description used in the "help" command
}
imageSelect = types.ReplyKeyboardMarkup(one_time_keyboard=True) # create the image selection keyboard
imageSelect.add('cock', 'pussy')
imageSelect.add('Mickey', 'Minnie')
hideBoard = types.ReplyKeyboardRemove() # if sent as reply_markup, will hide the keyboard
@ -113,7 +113,7 @@ def msg_image_select(m):
bot.send_photo(cid, open('kitten.jpg', 'rb'), reply_markup=hideBoard)
userStep[cid] = 0
else:
bot.send_message(cid, "Don't type bullsh*t, if I give you a predefined keyboard!")
bot.send_message(cid, "Don't type crap, if I give you a predefined keyboard!")
bot.send_message(cid, "Please try again")