No Longer Working!!! Due to changes in policy, all QQ robots are banned now, and so does CoolQ, which is the dependency of this repo. Hence, this repo can no longer work.
- super repeater
- command
add keyword response
- when bot hears about keyword he will respond the response
del keyword response
- delete the corresponding response
save
- save current data into
data.json
- will be run automatically every 5 minutes
- save current data into
bullshit theme
- uses famous BullshitGenerator and transplanted it into this project using its JavaScript version
--length
or-l
to specify the length of the generated passage
soup
,love
, etc.- using APIs from https://shadiao.app/
- send the content to group chats when triggered
- Python Interpreter
- Using PyJS backend
- forbids loop in case of infinite loop
- Set
post_url
in HTTP Plugin
git clone https://github.com/iamNCJ/coolq-bot-js.git
cd coolq-bot-js/bot/
npm install
npm start
Set post_url
in HTTP Plugin
git clone https://github.com/iamNCJ/coolq-bot-js.git
cd coolq-bot-js/
docker build -t bot .
docker run -d -p 8080:8080 bot
You can attach volumes or bind disks into the container so that you can have your data stored outside the container or extract it
Also, it's better to tune your container's time zone to make logs more readable
https://github.com/yzyzsun/PyJS