From 5cd97ebc968f3b813c54305debfadb74bfe05394 Mon Sep 17 00:00:00 2001 From: Badiboy Date: Fri, 3 Jan 2020 19:24:10 +0300 Subject: [PATCH] Update detailed_example.py Vulgarity replaced. --- examples/detailed_example/detailed_example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/detailed_example/detailed_example.py b/examples/detailed_example/detailed_example.py index f481832..4c848e8 100644 --- a/examples/detailed_example/detailed_example.py +++ b/examples/detailed_example/detailed_example.py @@ -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")