Matrix-support branch for Akari Bot
7958d7b375
做了一点微小的工作 |
||
---|---|---|
.idea | ||
__pycache__ | ||
ab | ||
assests | ||
bug | ||
garbage | ||
interwikilist | ||
mcv | ||
newbie | ||
rc | ||
server | ||
user | ||
userp | ||
wiki | ||
.gitignore | ||
blacklist.py | ||
blacklist.txt | ||
bot.py | ||
checkuser.py | ||
CommandGen.py | ||
help.py | ||
mcvbot.py | ||
mcversion.py | ||
mcversion.txt | ||
mcvrss.py | ||
mcvrss.txt | ||
MessageGen.py | ||
newbiecheck.py | ||
pathexist.py | ||
pbc.py | ||
ping.py | ||
README.md | ||
test.py | ||
UTC8.py |
bot
Based on Graia.
Introduction
This repository is only used for me to easier pull code into the server. I may not add any comments to the code, so if you want to read and understand the code, it may be difficult.
This bot is designed to work in different scenarios, so the code may be confusing. I'm very sorry about this but I'm too lazy to improve it. :(
(And sorry for my poor English but if I do not write something, maybe I can’t improve it forever.)
How it works
message -> bot.py
-> messageGen.py
-> commandGen.py
-> pre-process -> choose a method -> messageGen.py
-> return message