forked from ticketfrei/ticketfrei
Compare commits
No commits in common. "feature/ping" and "csrf" have entirely different histories.
feature/pi
...
csrf
|
@ -50,9 +50,6 @@ class TelegramBot(Bot):
|
||||||
"Send reports here to share them with other users. "
|
"Send reports here to share them with other users. "
|
||||||
"Use /start and /stop to get reports or not.")
|
"Use /start and /stop to get reports or not.")
|
||||||
# TODO: /help message should be set in frontend
|
# TODO: /help message should be set in frontend
|
||||||
elif update.message.text.lower() == "/ping":
|
|
||||||
tb.send_message(
|
|
||||||
update.message.sender.id, "pong")
|
|
||||||
else:
|
else:
|
||||||
# set report.author to "" to avoid mailbot crash
|
# set report.author to "" to avoid mailbot crash
|
||||||
sender_name = update.message.sender.username
|
sender_name = update.message.sender.username
|
||||||
|
|
Loading…
Reference in a new issue