improvement: add send-message script
This commit is contained in:
parent
5c6601d7ec
commit
bbc32c3e53
5
send-message.php
Normal file
5
send-message.php
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
require __DIR__."/lib/main.php";
|
||||||
|
$c = getenv()["TELEGRAM_CHAT_ID"];
|
||||||
|
array_shift($argv);
|
||||||
|
telegram_send_text($c, implode(" ",$argv));
|
||||||
Loading…
x
Reference in New Issue
Block a user