-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtexts.py
45 lines (26 loc) · 1.18 KB
/
texts.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
""" Contains functions that generates and returns strings to be used in bot.py file.
The function names should be the same with the corresponding functions in keyboards.py, if exists.
"""
def github():
return "Here is the GitHub repo of this bot. You can help me out by contributing or creating issues."
def welcome():
return (
"Welcome to the COVID-19 Worldwide Statististics Bot!\n"
"You can access to the list of countries to subscribe via /subscribe command, "
"and to unsubscribe via /unsubscribe.\n To see this message again, "
"use the /start command. Command can also be seen via the / (slash) icon below, left of the attachments."
)
def after_subscription(country):
return f"You are successfully subscribed to {country}"
def after_unsubscription(country):
return f"{country} is unsubscribed"
def subscribed():
return "Here are the subscriptions.\nClick to unsubscribe."
def select_data():
return "Please select a data."
def antarctica():
return "Looks like no man's land."
def by_continent(continent):
return f"Here are the countries in {continent}"
def continents():
return "Please select a continent:"