Skip to content

Commit

Permalink
Add readme, switch to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillammon committed Aug 10, 2022
1 parent a7933d4 commit fe4e4a3
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 503 deletions.
14 changes: 14 additions & 0 deletions README.md
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)
```
Loading

0 comments on commit fe4e4a3

Please sign in to comment.