forked from dymik739/modular-bot-framework-for-telegram
5 lines
149 B
Python
5 lines
149 B
Python
text = self.MESSAGE.text
|
|
|
|
if text == "!ping":
|
|
self.RESPONSE = f"Pong in {time.time() - 7200 - float(self.MESSAGE.date.strftime('+%s'))} seconds"
|