aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2016-09-28 10:46:37 +0200
committerRahiel Kasim <rahielkasim@gmail.com>2016-09-28 10:46:37 +0200
commit07c85ad49b65eadb60327bebf752cb14faf0c550 (patch)
tree791687b778c00dfa42d6acf9170edf82c2a22c1e
parentf78ce1f50242c7d356de9dbc8cbc96c86a506152 (diff)
use literal emoji character, add ayah for default query
-rw-r--r--bismillah.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bismillah.py b/bismillah.py
index 82b0738..23a81e1 100644
--- a/bismillah.py
+++ b/bismillah.py
@@ -101,7 +101,7 @@ def get_default_query_results(quran):
results = []
ayat = [
(13, 28), (33, 56), (2, 62), (10, 31), (17, 36), (5, 32), (39, 9), (17, 44), (28, 88), (17, 84), (33, 6),
- (7, 57), (3, 7), (2, 255), (63, 9), (57, 20), (49, 12), (16, 125), (24, 35), (73, 8)
+ (7, 57), (3, 7), (2, 255), (63, 9), (57, 20), (49, 12), (16, 125), (24, 35), (73, 8), (4, 103)
]
for s, a in ayat:
ayah = "%d:%d" % (s, a)
@@ -258,7 +258,7 @@ def serve(bot, data):
if special_state[0] == "feedback":
with open("feedback.txt", 'a') as f:
f.write("%d: %s\n" % (chat_id, message))
- text = "Feedback saved " + telegram.Emoji.SMILING_FACE_WITH_SMILING_EYES
+ text = "Feedback saved 😊"
bot.sendMessage(chat_id=chat_id, text=text)
save_user(chat_id, (s, a, special_state[1]))
continue