diff --git a/callbackQuery/create.py b/callbackQuery/create.py index 5312a3c..c023c59 100644 --- a/callbackQuery/create.py +++ b/callbackQuery/create.py @@ -103,5 +103,5 @@ def create(update: Update, context: CallbackContext): output.write(output_stream) output_stream.seek(0) context.bot.send_document(chat_id=update.effective_chat.id, document=output_stream, - reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Home", callback_data="home")], - [InlineKeyboardButton("New", callback_data="new")]])) + reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("๐Ÿ˜ Home", callback_data="home")], + [InlineKeyboardButton("๐Ÿ“ New", callback_data="new")]])) diff --git a/callbackQuery/data.py b/callbackQuery/data.py index 051fb00..1fa59ff 100644 --- a/callbackQuery/data.py +++ b/callbackQuery/data.py @@ -30,5 +30,5 @@ def data(update: Update, context: CallbackContext): callback_data="edit_birth_city")], [InlineKeyboardButton("Address", callback_data="edit_address")], - [InlineKeyboardButton("Home", + [InlineKeyboardButton("๐Ÿ˜ Home", callback_data="home")]])) diff --git a/callbackQuery/new.py b/callbackQuery/new.py index e598390..3c7d528 100644 --- a/callbackQuery/new.py +++ b/callbackQuery/new.py @@ -10,9 +10,9 @@ def new(update: Update, context: CallbackContext): u = s.query(db.User).get(update["_effective_user"]["id"]) if not u or not all([u.first_name, u.last_name, u.birth_date, u.birth_city, u.address]): context.bot.send_message(chat_id=update.effective_chat.id, text="You have no data saved !", - reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Set data", + reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("โš™๏ธ Set data", callback_data="data")], - [InlineKeyboardButton("Home", callback_data="home")] + [InlineKeyboardButton("๐Ÿ˜ Home", callback_data="home")] ])) else: if update.effective_chat.id not in reasons: @@ -20,9 +20,9 @@ def new(update: Update, context: CallbackContext): if update["_effective_user"]["id"] not in reasons[update.effective_chat.id]: reasons[update.effective_chat.id][update["_effective_user"]["id"]] = [] - last_line = [InlineKeyboardButton("Home", callback_data="home")] + last_line = [InlineKeyboardButton("๐Ÿ˜ Home", callback_data="home")] if len(reasons[update.effective_chat.id][update["_effective_user"]["id"]]) != 0: - last_line.append(InlineKeyboardButton("Send", callback_data="create")) + last_line.append(InlineKeyboardButton("โœ… Send", callback_data="create")) context.bot.send_message(chat_id=update.effective_chat.id, text=f"Select your reasons\n`" + @@ -30,14 +30,14 @@ def new(update: Update, context: CallbackContext): "`", parse_mode=ParseMode.MARKDOWN_V2, reply_markup=InlineKeyboardMarkup([ - [InlineKeyboardButton("Work", callback_data="reason_work"), - InlineKeyboardButton("Shopping", callback_data="reason_shopping")], - [InlineKeyboardButton("Health", callback_data="reason_health"), - InlineKeyboardButton("Family", callback_data="reason_family")], - [InlineKeyboardButton("Handicap", callback_data="reason_handicap"), - InlineKeyboardButton("Sport/animal", callback_data="reason_sport_animal")], - [InlineKeyboardButton("Injunction", callback_data="reason_injunction"), - InlineKeyboardButton("Missions", callback_data="reason_missions")], - [InlineKeyboardButton("Children", callback_data="reason_children")], + [InlineKeyboardButton("๐Ÿ’ผ Work", callback_data="reason_work"), + InlineKeyboardButton("๐Ÿ›’ Shopping", callback_data="reason_shopping")], + [InlineKeyboardButton("๐Ÿ’Š Health", callback_data="reason_health"), + InlineKeyboardButton("๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Family", callback_data="reason_family")], + [InlineKeyboardButton("โ™ฟ๏ธ Handicap", callback_data="reason_handicap"), + InlineKeyboardButton("๐Ÿšดโ€โ™€๏ธ๐Ÿ• Sport/animal", callback_data="reason_sport_animal")], + [InlineKeyboardButton("โš–๏ธ Injunction", callback_data="reason_injunction"), + InlineKeyboardButton("๐Ÿ“œ Missions", callback_data="reason_missions")], + [InlineKeyboardButton("๐Ÿ‘ถ Children", callback_data="reason_children")], last_line])) diff --git a/commands/start.py b/commands/start.py index e30c577..67bc05f 100644 --- a/commands/start.py +++ b/commands/start.py @@ -5,9 +5,9 @@ from telegram.ext import CallbackContext, CommandHandler def start(update: Update, context: CallbackContext): context.bot.send_message(chat_id=update.effective_chat.id, text="Welcome to TeleExit", - reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Create a new certificate", + reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("๐Ÿ“ Create a new certificate", callback_data="new")], - [InlineKeyboardButton("Manage saved data", + [InlineKeyboardButton("โš™๏ธ Manage saved data", callback_data="data")] ]))