Bot Api Version

Bot Api Version
This commit is contained in:
Denny Dai
2015-06-29 22:13:58 +08:00
parent 1ab6510772
commit e321324785
5 changed files with 46 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<?php
$BOT = new DBot\Base('unix:///tmp/tg.sck');
if($_GET['from'] != escapePeer(BOT_NAME)){
//is group?
if ($_GET['to'] == escapePeer(BOT_NAME)) {