File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
examples/src/main/java/io/github/wechaty Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ make install
4242### Run
4343
4444``` sh
45- export WECHATY_PUPPET_HOSTIE_TOKEN =your_token_at_here
45+ export WECHATY_PUPPET_SERVICE_TOKEN =your_token_at_here
4646
4747make bot
4848```
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ public class DingDongBot {
1212
1313 public static void main (String [] args ) throws Exception {
1414
15- final String token = System .getenv ("WECHATY_PUPPET_HOSTIE_TOKEN " );
15+ final String token = System .getenv ("WECHATY_PUPPET_SERVICE_TOKEN " );
1616
1717 if (StringUtils .isBlank (token )) {
1818
19- System .out .println ("Error: WECHATY_PUPPET_HOSTIE_TOKEN is not found in the environment variables" );
19+ System .out .println ("Error: WECHATY_PUPPET_SERVICE_TOKEN is not found in the environment variables" );
2020 System .out .println ("You need a TOKEN to run the Java Wechaty. Please goto our README for details" );
21- System .out .println ("https://github.com/wechaty/java-wechaty-getting-started/#wechaty_puppet_hostie_token " );
21+ System .out .println ("https://github.com/wechaty/java-wechaty-getting-started/#run " );
2222
2323 throw new Exception ("need a token" );
2424 }
You can’t perform that action at this time.
0 commit comments