https://github.com/precla/irc-bot-nodejs
Simple IRC bot made using node.js & node-irc
https://github.com/precla/irc-bot-nodejs
Last synced: about 1 year ago
JSON representation
Simple IRC bot made using node.js & node-irc
- Host: GitHub
- URL: https://github.com/precla/irc-bot-nodejs
- Owner: precla
- License: gpl-3.0
- Created: 2015-04-06T17:42:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-07-01T21:49:10.000Z (about 7 years ago)
- Last Synced: 2025-03-31T01:41:40.803Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 8
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
README
[](https://github.com/precla/irc-bot-nodejs/archive/master.zip)
[](https://travis-ci.org/precla/irc-bot-nodejs)
[](https://david-dm.org/precla/irc-bot-nodejs#info=dependencies&view=table)
[](https://david-dm.org/precla/irc-bot-nodejs#info=devDependencies&view=table)
[](http://opensource.org/licenses/GPL-3.0)
# irc-bot-nodejs
irc-bot-nodejs is a simple IRC bot with basic functionalities
## Usage
1. install Node.js and then do `npm i`
2. change settings in config.example.js and save as config.js
3. run with: `node bot.js` or `npm run start`
4. while in an IRC channel type any of the supported commands
## Commands:
- `!wp ` - get summary from Wikipedia for article. Example: `!wp Microsoft`.
- `!weather [zip] ` - get weather info for city. The `zip` argument is not required.
Example: `!weather Zagreb` or `!weather 10000,hr` will show the weather for Zagreb.
same for `!wf` (or `!weatherforecast`) - outputs weather forecast for the next 5 days
- `!tv`, `!next`, `!last ` - Example: `!next Suits` - gets info about the next *Suits* episode.
- `!isup` - checks if a specified site is up. Example: `!isup www.github.com`
- `!csgo` - get player info for the game Counter-Strike: Global Offensive
- `!g`, `!google` - search via google and show first result
- `!remind` - set a reminder. Example: `!remind 16:30 Grab a beer`. Limitation: only time allowed, no date.
### To-do:
- add more? ofc!
- reconnect after disconnecting from irc (until then, use: [foreverjs/forever](https://github.com/foreverjs/forever) )
### Done:
- Weather command - current weather or forecast
- TVRage
- Isup to check if site is up
- NickServ identify
- Separate config file for easier bot configuration & usage
- URL parser for: Github, SoundCloud, Twitter, Youtube, Imgur
- Counter-Strike: Global Offensive player info
### License:
- GNU GPL v3