forked from jixunmoe/jjBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
help
57 lines (42 loc) · 1.65 KB
/
help
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Project jjBot
Ver 1.0
By Jixun,
http://jixun.org/
Github: http://github.com/JixunMoe/jjBot/
* Any question, problem or improvement,
please inform me by create a new issue.
Command line usage:
--offline
Go to offline mode, disable all api and Auth to tencent server.
--help
Display this message
--qnum <QQNum>
Force the account to login with.
--passwd <Password>
Force the password for bot to login.
--config <Path to config.yaml>
Specify the config file to use, blank to './config.yaml'
Developer options:
--debug module
Ask dev for the module list avilible.
Current list for jjBot core:
web: Front-end server route for plugin.
api: Capture all API request.
api_data: Capture all API request and its data.
event: Capture all plugin event call.
group: Group info request loop.
Also, plugin devs can define there own debug flag.
--noWebLogin
> Security WARNING <
Anyone can access front-end without login.
--shareLogin
Skip login and use last login session, useful for debugging.
However there's a chance jjBot can't poll messages correctly, just
reboot without this argument and it'll be fine.
Example:
Login with QQ 10000, password "A_B-C 1" (without quote):
node Boot.js --qnum 10000 --passwd "A_B-C 1"
Boot with another config file and password from command line:
node Boot.js --config jjBot.2.yaml --passwd 123456.salt.xxxxx
Debug plugin without login and debug plugin and web module:
node Boot.js --config jjBot.debug.yaml --offline --debug plugin web