Add emojis.

This commit is contained in:
Ceda EI 2018-11-11 11:21:51 +05:30
parent 7b0ea8bedc
commit a80a7fbcc5
1 changed files with 3 additions and 3 deletions

6
bot.py
View File

@ -295,7 +295,7 @@ def edit_quest(bot, update, player, qid, target, type):
if target == "name": if target == "name":
x.name = message x.name = message
text = "<b>Updated Name</b>" text = "<b>☑️ Updated Name</b>"
elif target == "imp": elif target == "imp":
message = message.lower() message = message.lower()
if message == "low" or message == "🔹 low": if message == "low" or message == "🔹 low":
@ -307,7 +307,7 @@ def edit_quest(bot, update, player, qid, target, type):
else: else:
bot.send_message(chat_id=chat_id, text="Invalid Option") bot.send_message(chat_id=chat_id, text="Invalid Option")
return return
text = "<b>Updated Priority</b>" text = "<b>☑️ Updated Priority</b>"
elif target == "diff": elif target == "diff":
message = message.lower() message = message.lower()
if message == "low" or message == "📙 low": if message == "low" or message == "📙 low":
@ -319,7 +319,7 @@ def edit_quest(bot, update, player, qid, target, type):
else: else:
bot.send_message(chat_id=chat_id, text="Invalid Option") bot.send_message(chat_id=chat_id, text="Invalid Option")
return return
text = "<b>Updated Difficulty</b>" text = "<b>☑️ Updated Difficulty</b>"
x.update_db() x.update_db()
if type == "quest": if type == "quest":