neuer name und so

This commit is contained in:
henne 2016-07-19 11:33:57 +02:00
parent 13a16dc3cb
commit cc6f5b9687
2 changed files with 5 additions and 11 deletions

View File

@ -1,7 +1,7 @@
{
"name": "hubot-raumgirl-new",
"description": "ctdo raumgirl",
"version": "0.0.6",
"name": "hubot-edgar-snodon",
"description": "ctdo raumbot",
"version": "0.0.7",
"author": "henne@ctdo.de",
"license": "MIT",
@ -9,11 +9,7 @@
"repository": {
"type": "git",
"url": "git://github.com/hubot-scripts/hubot-raumgirl-new.git"
},
"bugs": {
"url": "https://github.com/hubot-scripts/hubot-raumgirl-new/issues"
"url": "git@repos.ctdo.de:ctdo/edgar_snodon.git"
},
"dependencies": {

View File

@ -2,6 +2,7 @@ const net = require('net');
const myName = process.env['HUBOT_IRC_NICK'];
module.exports = function(robot) {
robot.brain.data.topics = {}
// old stuff
// lampel
function setLampel(r,ge,gr) {
@ -43,9 +44,6 @@ module.exports = function(robot) {
});
// topic
robot.adapter.bot.addListener('topic', function(channel, topic) {
if(typeof(robot.brain.data.topics) !== 'Object') {
robot.brain.data.topics = {}
}
robot.brain.data.topics[channel] = topic
setTopic(topic);
});