Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xnim/hnschat-bot


https://github.com/0xnim/hnschat-bot

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# hnschat-bot
This is an example to get you started making bots for [hnschat](https://hns.chat)

# Setup
```
git clone https://github.com/eskimo/hnschat-bot.git
cd hnschat-bot
npm install
```

# How to use
1. Open your js console while on hnschat.
2. Type `key` to get your session id.
3. Type `domain` to get your desired domain id.
4. Replace the 2 lines in `bot.js` with your id's.
5. Launch the bot with `node bot.js`.
6. Typing `!hns` in a channel which you and the bot are in will make the bot reply with the current HNS price.