File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
examples/src/main/java/io/github/wechaty/example Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,19 @@ class Bot{
6161}
6262```
6363
64+ if use plugins
65+ ``` java
66+ class Bot {
67+ public static void main (String args []){
68+ Wechaty bot = Wechaty . instance()
69+ .use(
70+ WechatyPlugins . ScanPlugin(),
71+ WechatyPlugins . DingDongPlugin(null ))
72+ .start(true );
73+ }
74+ }
75+ ```
76+
6477## Development
6578
6679To be writen:
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ public class MainWithPlugin {
77
88 public static void main (String [] args ) {
99
10- Wechaty bot = Wechaty .instance ("your-token " )
10+ Wechaty bot = Wechaty .instance ("your_token " )
1111 .use (WechatyPlugins .ScanPlugin (), WechatyPlugins .DingDongPlugin (null ))
1212 .start (true );
1313
You can’t perform that action at this time.
0 commit comments