add new module: pingtools

This commit is contained in:
dymik739 2023-09-21 19:32:56 +03:00
parent 187d990d2b
commit b5a37acecb
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,4 @@
text = self.MESSAGE.text
if text == "!ping":
self.RESPONSE = f"Pong in {time.time() - 7200 - float(self.MESSAGE.date.strftime('+%s'))} seconds"

View File

@ -0,0 +1,6 @@
{
"start_on_boot": true,
"alias": "pingtools",
"version": 1,
"index_file": "index.py"
}