Add emojis.
This commit is contained in:
parent
7b0ea8bedc
commit
a80a7fbcc5
6
bot.py
6
bot.py
|
@ -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":
|
||||||
|
|
Loading…
Reference in New Issue