Permalink
Browse files

Replaced IRC library with tmi.js package.

  • Loading branch information...
roncli committed Dec 25, 2016
1 parent 5d92d20 commit aaa3a5180a139d0facbc346d41c21c092bc80d3b
Showing with 130 additions and 96 deletions.
  1. +4 −0 README.md
  2. +4 −4 index.js
  3. +2 −2 package.json
  4. +120 −90 sixgaming.js
View
@@ -89,6 +89,10 @@ The following should be the contents of settings.js:
Version History
===============
1.2
---
* Replaced IRC library with tmi.js for smoother IRC operation.
1.1.5 - 9/20/2016
-----------------
* Fixed issues with discord.js upgrade.
View
@@ -1,10 +1,10 @@
var Irc = require("irc"),
Discord = require("discord.js"),
var Discord = require("discord.js"),
Tmi = require("tmi.js"),
TwitchApi = require("twitch-api"),
settings = require("./settings"),
sixGaming = require("./sixgaming"),
irc = new Irc.Client(settings.irc.server, settings.irc.nick, settings.irc.options),
tmi = new Tmi.client(settings.tmi),
discord = new Discord.Client(settings.discord.options),
twitch = new TwitchApi(settings.twitch);
sixGaming.start(irc, discord, twitch);
sixGaming.start(tmi, discord, twitch);
View
@@ -18,10 +18,10 @@
"url": "https://github.com/roncli/SixBotGG.git"
},
"dependencies": {
"discord.js": "9.1.0",
"irc": "0.5.0",
"discord.js": "10.0.1",
"mssql": "3.3.0",
"promised-io": "0.3.5",
"tmi.js": "1.1.2",
"twitch-api": "0.4.5",
"underscore": "1.8.3"
},
Oops, something went wrong.

0 comments on commit aaa3a51

Please sign in to comment.