bugfix & doc

This commit is contained in:
NatureFreshMilk 2019-09-06 07:57:09 +02:00
parent 2279a691c7
commit df71d9094e
2 changed files with 43 additions and 1 deletions

42
responses.txt Normal file
View File

@ -0,0 +1,42 @@
beerchat-proxy_1 | message {
beerchat-proxy_1 | type: 'privmsg',
beerchat-proxy_1 | nick: 'BuckarooBanzai',
beerchat-proxy_1 | ident: '~BuckarooB',
beerchat-proxy_1 | hostname: '238-51-106-109.dyn.cable.fcom.ch',
beerchat-proxy_1 | target: '#pandorabox',
beerchat-proxy_1 | group: undefined,
beerchat-proxy_1 | message: 'test :)',
beerchat-proxy_1 | tags: {},
beerchat-proxy_1 | time: undefined,
beerchat-proxy_1 | account: undefined,
beerchat-proxy_1 | reply: [Function]
beerchat-proxy_1 | }
beerchat-proxy_1 | message {
beerchat-proxy_1 | type: 'privmsg',
beerchat-proxy_1 | nick: 'BuckarooBanzai',
beerchat-proxy_1 | ident: '~BuckarooB',
beerchat-proxy_1 | hostname: '238-51-106-109.dyn.cable.fcom.ch',
beerchat-proxy_1 | target: '#pandorabox',
beerchat-proxy_1 | group: undefined,
beerchat-proxy_1 | message: 'test pandorabot',
beerchat-proxy_1 | tags: {},
beerchat-proxy_1 | time: undefined,
beerchat-proxy_1 | account: undefined,
beerchat-proxy_1 | reply: [Function]
beerchat-proxy_1 | }
beerchat-proxy_1 | message {
beerchat-proxy_1 | type: 'privmsg',
beerchat-proxy_1 | nick: 'BuckarooBanzai',
beerchat-proxy_1 | ident: '~BuckarooB',
beerchat-proxy_1 | hostname: '238-51-106-109.dyn.cable.fcom.ch',
beerchat-proxy_1 | target: 'pandorabot',
beerchat-proxy_1 | group: undefined,
beerchat-proxy_1 | message: 'xy z',
beerchat-proxy_1 | tags: {},
beerchat-proxy_1 | time: undefined,
beerchat-proxy_1 | account: undefined,
beerchat-proxy_1 | reply: [Function]
beerchat-proxy_1 | }

View File

@ -4,7 +4,7 @@ const irc_client = require("./irc_client");
module.exports = new Promise((resolve, reject) => {
irc_client.on('registered', function() {
var channel = client.channel("#" + IRC_CHANNEL);
var channel = irc_client.channel("#" + IRC_CHANNEL);
channel.join();
channel.say(`beerchat_proxy connected!`);