-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7933d4
commit fe4e4a3
Showing
4 changed files
with
200 additions
and
503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# kol-chatbot | ||
|
||
A Typescript and Vanilla Node library for creating Kingdom of Loathing chatbots quickly and easily! | ||
|
||
To get started quickly, all you need to do is create an instance of KoLBot, giving it the username and password of a literate Kingdom of Loathing account with an associated email address (without these, it is unable to access chat, which somewhat defeats the purpose of a chatbot), then invoke .start on it providing a callback that will be run on incoming kmails, chat messages, and whispers. | ||
|
||
Basic usage: | ||
|
||
``` | ||
import {KoLBot} from "kol-chatbot"; | ||
const chatbot = new KoLBot("username", "P@ssw0rd") | ||
chatbot.start(console.log) | ||
``` |
Oops, something went wrong.