Merge pull request #344 from slingamn/history.4

add CHATHISTORY and HISTORY implementations
This commit is contained in:
Daniel Oaks 2019-02-05 22:16:45 +10:00 committed by GitHub
commit 71a33890b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 428 additions and 48 deletions

View file

@ -92,6 +92,10 @@ func init() {
usablePreReg: true,
minParams: 1,
},
"CHATHISTORY": {
handler: chathistoryHandler,
minParams: 3,
},
"DEBUG": {
handler: debugHandler,
minParams: 1,
@ -110,6 +114,10 @@ func init() {
handler: helpHandler,
minParams: 0,
},
"HISTORY": {
handler: historyHandler,
minParams: 1,
},
"INFO": {
handler: infoHandler,
},