We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdbdb59 commit 918ddfdCopy full SHA for 918ddfd
examples/ding-dong-bot.php
@@ -20,8 +20,8 @@
20
// change dir
21
// \IO\Github\Wechaty\Util\Logger::$_LOGGER_DIR = "/tmp/";
22
23
-$token = getenv("WECHATY_PUPPET_HOSTIE_TOKEN");
24
-$endPoint = getenv("WECHATY_PUPPET_HOSTIE_ENDPOINT");
+$token = getenv("WECHATY_PUPPET_SERVICE_TOKEN");
+$endPoint = getenv("WECHATY_PUPPET_SERVICE_ENDPOINT");
25
$wechaty = \IO\Github\Wechaty\Wechaty::getInstance($token, $endPoint);
26
$wechaty->onScan(function($qrcode, $status, $data) {
27
if($status == 3) {
0 commit comments