add new module: pingtools
This commit is contained in:
parent
187d990d2b
commit
b5a37acecb
|
@ -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"
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"start_on_boot": true,
|
||||||
|
"alias": "pingtools",
|
||||||
|
"version": 1,
|
||||||
|
"index_file": "index.py"
|
||||||
|
}
|
Loading…
Reference in New Issue