Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xnim/hnschat-bot
https://github.com/0xnim/hnschat-bot
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/0xnim/hnschat-bot
- Owner: 0xnim
- License: mit
- Created: 2022-03-24T18:47:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-15T21:12:15.000Z (almost 3 years ago)
- Last Synced: 2024-05-20T21:22:44.199Z (9 months ago)
- Size: 41 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.