neuer name und so
This commit is contained in:
parent
13a16dc3cb
commit
cc6f5b9687
12
package.json
12
package.json
|
@ -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": {
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue