-
Notifications
You must be signed in to change notification settings - Fork 1
/
Text.py
172 lines (162 loc) · 11 KB
/
Text.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
Scroll = '\U0001F4DC'
Person_Tipping_Hand = '\U0001F481'
Money_Bag = '\U0001F4B0'
House = '\U0001F3E0'
Shopping_Cart = '\U0001F6D2'
Clapping_Hands = '\U0001F44F'
Cross_Mark = '\U0000274C'
Smiling_Face_With_Open_Mouth = '\U0001F603'
Winking_Face = '\U0001F609'
Mobile_Phone = '\U0001F4F1'
E_Mail = '\U0001F4E7'
Page_Facing_Up = '\U0001F4C4'
Airplane = '\U00012708'
Backhand_Index_Pointing_Down = '\U0001F447'
Camera = '\U0001F4F7'
Thumbs_Up = '\U0001F44D'
Heavy_Check_Mark = '\U00002714'
Man_Genie = '\U0001F9DE'
Left_Pointing_Magnifying_Glass = '\U0001F50D'
Disappointed_but_Relieved_Face = '\U0001F625'
Telephone_Receiver = '\U0001F4DE'
Key = '\U0001F511'
Waving_Hand = '\U0001F44B'
Card_Index = '\U0001F4C7'
Globe_Showing_Asia_Australia = '\U0001F30F'
Woman_Shrugging = '\U0001F937'
See_No_Evil_Monkey = '\U0001F648'
Fox_Face = '\U0001F98A'
Panda_Face = '\U0001F43C'
Spouting_Whale = '\U0001F433'
text_helping_message = '' + Clapping_Hands*10+\
'#If you like this bot, please *vote* for my group *Teletubbies*!\n' \
'*Please!*\n' \
'*Please!*\n' \
'*Please!*\n'\
'Peace be upon you, my firend! My name is *Aladdin*, *Sultan of Agrabah*, *master of the genie of the magical lamp*.' + Man_Genie*3 +' I\'ve had a ' \
'powerful kingdom and all my people lived happily ever after. The genie has granted me inexaustable treasure, but what has puzzled ' \
'me is how do I make my people weathier. So I created this trading platform with my almighty genie. \n \n' \
'Here\'s what you can do on this *trading platform*: \n \n ' \
+ Scroll*3 +'\n\n' + \
'I can help you sell the stuff that you no longer need, and help you find items you urgently need. \n \n' \
'*Here\'s how to use this platform. Please read carefully before you start*: \n \n ' \
'' \
'' \
'For *sellers*: \n \n' \
'-By clicking on the button \'*Sell item*'+Person_Tipping_Hand+'\', you\'ll start the procedure of adding your item to sell. If you\'re new to the platform, you\'ll be asked to' \
' *give your shop a name* and leave your *contact information(be it your phone number, your email address or your telegram username)* so that if ' \
'someone wants to buy your item, he/she can directly get in touch with you (I will charge no fees for the platform since I am a merciful ruler) \n \n' \
'-Then you need to *choose the type for your item*. For example, *"Electronics"*. Then a more detailed menu will be sent to you to specify the exact nature ' \
'of the item (in the case of Electronics, *mobile phones, tablets and laptops* will be sent). \n\n' \
'-You need to give your item a *price*, of course. How would I start a deal without knowing the price, ha? The price that you give me is recorded in Singapore ' \
'dollars -- the currency of a beautiful island city state in the Pacific Ocean. *Remember you only need to tell me a number*, and don\'t send me \'$\' as I might get confused. \n\n' \
'-By now it\'s time to *describe your good*. How is the quality? What are the details? and what is the model/version of it? The more you tell the customer, the more likely ' \
'they\'ll be interested in what you\'re selling.\n\n' \
'-Additionally you can *send me a photo of your item*. My genie will display the photo to the customer without compression. \n\n' \
'-You can always *change the information of your item* or *remove it* from sale by clicking on the button \'*Modify items*' + Shopping_Cart +'\' and check the items that you sell by clicking on the ' \
'button \'*My shop*' + House + '\'\n\n' \
'' \
'' \
'For *buyers*:\n\n' \
'-Ah-Ha! My genie provided four different types of searching by clicking \'*Buy item*'+ Money_Bag +'\' for you, my friend. They are: \n' \
' * --By Item type*\n' \
' * --By Keyword*\n' \
' * --By Shop name*\n' \
' * --Online resources*\n Let me help you go through each of them~\n\n' \
'-*By Item type*\n' \
' You can indicate the *exact type of item* that you want to buy. My genie will use his magic to help you find all the items of your chosen type.\n' \
'-*By Keyword*\n' \
' You can give me *a word or a phrase* that you want to find.\n' \
'-*By Shop name*\n' \
' If you happen to like the goods from one of our shop-owners in market, you can get what he/she\'s selling immediately by telling me *the shop name* of him/her (btw my shop name is Aladdin).' \
'-*Online resources*\n' \
' If unfortunately your wanted item is not sold in any of our shops, you need not worry. My genie can find you what you need from remote lands east and west. \n' \
'Besides, we can help you compare the prices of *multiple items online* to help you find the cheapest item. Always good to save some money in your pocket no?\n\n' \
'' \
'' \
'And also, some magical spell so summon my servant genie:\n' \
'/start - *start using this bot* or go to the *main menu*\n' \
'/help - to get a *help message* on how to use this platform\n' \
'/sell - to *add* an item to sell\n' \
'/buy - to *find* items to buy\n' \
'/cancel - to *cancel* the current action\n' \
'/credit - to tell you the lovely people that created this bot :-)\n\n' \
'' \
'#If you like this bot, please *vote* for my group *Teletubbies*\n' \
'*Please!*\n' \
'*Please!*\n' \
'*Please!*\n'\
text_welcome_message = 'My name is Aladdin, how can I be at your service?' +Smiling_Face_With_Open_Mouth
# For selling
text_welcome_seller = 'Wow! It seems like you have something good to sell!' + Winking_Face
text_name_shop = 'Looks like it\'s the first time you sell stuff. I\'ve chosen a nice spot for your business~ Now tell me, How would you like to *name your shop*'+House+'?'
text_own_shop = 'Ah-Ha, you are the owner of shop: '
text_get_contact_info = 'That is a fantastic name. Now please leave your *phone number*' + Mobile_Phone
text_choose_type1 = 'Great! Now you can choose the *type* of the item that you want to sell!' + Smiling_Face_With_Open_Mouth
text_chosen_type = 'I see the thing you want to sell is: '
text_choose_type2 = 'Can you specify your item by clicking on one of the buttons below?' + Backhand_Index_Pointing_Down
text_input_price = 'Now tell me the *price*' + Money_Bag + ' of your item. Remember you only need to tell me *a number without $ dollar sign*.\nThe price will be recorded in Singapore dollars.'
text_input_description = 'That sounds like a reasonable price! Now *give me the description*' + Scroll+' of this item (size, quality, version etc.)'
text_add_photo = 'OK! Would you like to add a photo for your item?' + Camera
text_send_photo = 'Great! Let me see the photo of your item!'
text_successfully_add = 'Great businessman you are!' + Thumbs_Up * 3 + '\nThat would be enough information for me. \nYour item is on sale now!'
# For buying
text_welcome_buyer = 'Haha. Check out all the good things we have here.'
text_choose_search_type = 'How would you like to search? You can search by the item type, the shop name, the keyword, or access online resources.\nJust click the button then I will know!'
# Search by type
text_search_type1 = 'You can choose the type of item you want to search!'
text_search_type2 = 'Can you specify your item by clicking on one of the buttons below?' + Smiling_Face_With_Open_Mouth
text_searched_type = 'I see the thing you want to buy is: '
text_searching = 'Behold. My genie is searching for you.' + Man_Genie + Left_Pointing_Magnifying_Glass
text_sorry = 'I\'m so sorry but we don\'t have any record that matches your needs' + Disappointed_but_Relieved_Face
text_have_found = 'Ah-Ha! We have found these for you!' + Backhand_Index_Pointing_Down
text_choose_item = 'You can check out the item above for more information by clicking on the *item ID*' +Left_Pointing_Magnifying_Glass
text_display_detail = 'The detailed information is as follows.\n'
text_display_photo = 'Here is the photo of the item for your reference.' + Camera
text_want_contact = 'Would you like to get the contact information of the seller?' + Telephone_Receiver
text_check_another = 'Would you like to check out another item?'
# Search by keyword
text_keyword = 'Alright! Please tell me the keyword' + Key + ' that you want to search: '
# Search by shop name
text_shop_name = 'Alright! Please tell me the shop name' + House + ' that you want to search: '
text_sorry_shop = 'I\'m so sorry but we don\'t have the shop that you\'re looking for.' + Disappointed_but_Relieved_Face
# Online resources
text_online_keyword = 'Alright! Please tell me the keyword' + Key + Globe_Showing_Asia_Australia+ ' that you want to search online: '
#A fter Search
text_thank_you = 'It\'s been a pleasure to serve you, my friend. ' + Smiling_Face_With_Open_Mouth + 'Hope I can see you again soon.' + Waving_Hand*5
text_seen = 'Good news for you! Someone has seen your item and got your contact! The item that the cutomer checked is: \n'
# Error Message
text_choose_from_list = 'Sorry, please choose an item from the list above.' + Disappointed_but_Relieved_Face
text_type_shop_name = 'That doesn\'t sound like a legitimate name. Tell me another.'
text_type_contact_info = 'I\'m pretty sure no one can find you with a contact info like that. Try again.'
text_only_number = 'You only need to give me a number!' + Cross_Mark
text_type_description = 'Please tell me the description! It\'s necessary.' + Disappointed_but_Relieved_Face
text_type_keyword = 'I don\'t think that\'s the keyword you want to search. Try another.'
# For modifying
text_all = 'Here are all the items that belong to you.\nTell me which one do you want to modify?'
text_nothing_on_sale = 'I\'m sorry but my genie couldn\'t find anything.'+ Man_Genie + Left_Pointing_Magnifying_Glass+'\nLooks like you don\'t have anything on sale yet.'
text_modify_method = 'You can now choose an attribute of your item to change, or you can delete this item so that others will never see it again.'
text_new_info = 'You got it! Now tell me the new information that you want to give this item.'
text_successfully_change = 'Success! Your item has been updated.' + Thumbs_Up + 'You can check it out anytime you want.'
text_successfully_delete = 'Success! Your item has been deleted.' + Thumbs_Up + 'You\'ll never see it again.'
# For checking
text_my = 'As you wish! I\'m bringing all your stuff to you!'
# Cancel Action
text_cancel = 'Action cancelled! Come back to me whenever you need!'
# Credit
text_credit = Woman_Shrugging +'Huang Zhilin\n' + See_No_Evil_Monkey + 'Wang Xiaoyu\n' + Fox_Face + 'Wang Zijian\n' + Panda_Face + 'Yong Hao\n' + Spouting_Whale + 'Zhou Hongyu\n' + 'We are Teletubbies!!!~'
text_button_sell = 'Sell item' + Person_Tipping_Hand
text_button_buy ='Buy item' + Money_Bag
text_button_my_shop = 'My shop' + House
text_button_modify_items = 'Modify items' + Shopping_Cart
text_button_cancel = 'Cancel' + Cross_Mark
text_button_main = 'Return to main menu' + Page_Facing_Up
text_button_yes = 'Yes' + Heavy_Check_Mark
text_button_no = 'No' + Cross_Mark
text_button_search_by_type = 'Search by type' + Card_Index
text_button_search_by_keyword = 'Search by keyword' + Key
text_button_search_by_shop_name = 'Search by shop name' + House
text_button_online_resources = 'Online resources' + Globe_Showing_Asia_Australia
gif_credit = 'https://media.giphy.com/media/l0Iyk6Vd7G126BmuI/giphy.gif'
gif_welcome = 'https://media.giphy.com/media/3Jhdg8Qro5kMo/giphy.gif'
gif_searching = 'https://media.giphy.com/media/tpTOw6sljB2U/giphy.gif'