Service is suspended until further notice
This commit is contained in:
parent
6e82287e8d
commit
790565297e
@ -3,7 +3,7 @@
|
|||||||
__author__ = "Davide Testa"
|
__author__ = "Davide Testa"
|
||||||
__email__ = "davide@davte.it"
|
__email__ = "davide@davte.it"
|
||||||
__license__ = "GNU General Public License v3.0"
|
__license__ = "GNU General Public License v3.0"
|
||||||
__version__ = "1.1.15"
|
__version__ = "1.1.16"
|
||||||
__maintainer__ = "Davide Testa"
|
__maintainer__ = "Davide Testa"
|
||||||
__contact__ = "t.me/davte"
|
__contact__ = "t.me/davte"
|
||||||
|
|
||||||
|
@ -571,15 +571,14 @@ async def cancel_ciclopi_location(bot, update, user_record):
|
|||||||
|
|
||||||
async def _ciclopi_command(bot: davtelepot.bot.Bot, update, user_record, sent_message=None,
|
async def _ciclopi_command(bot: davtelepot.bot.Bot, update, user_record, sent_message=None,
|
||||||
show_all=False):
|
show_all=False):
|
||||||
if datetime.datetime.now() < datetime.datetime(year=2020, month=4, day=13):
|
return {
|
||||||
return {
|
'text': {
|
||||||
'text': {
|
'it': "⚠️ Il servizio è momentaneamente sospeso a causa dell'emergenza COVID-19🦠\n"
|
||||||
'it': "⚠️ Il servizio è momentaneamente sospeso a causa dell'emergenza COVID-19🦠\n"
|
"#stiamoacasa 🏠",
|
||||||
"#stiamoacasa 🏠",
|
'en': "⚠️ The service is currently suspended due to COVID-19 emergency.🦠\n"
|
||||||
'en': "⚠️ The service is currently suspended due to COVID-19 emergency.🦠\n"
|
"#stayathome 🏠"
|
||||||
"#stayathome 🏠"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
chat_id = update['chat']['id']
|
chat_id = update['chat']['id']
|
||||||
default_stations_to_show = 5
|
default_stations_to_show = 5
|
||||||
stations = []
|
stations = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user