mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
Merge branch 'master' of github.com:reality/depressionbot
This commit is contained in:
commit
54b8b00bda
@ -40,7 +40,7 @@ var poll = function(dbot) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
event.reply(dbot.t('poll_created', {'name': name, 'description': description}) +
|
event.reply(dbot.t('poll_created', {'name': name, 'description': description}) +
|
||||||
' - http://nc.no.de:443/polls/' + name);
|
' - http://nourishedcloud.com:8080/polls/' + name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -140,7 +140,7 @@ var poll = function(dbot) {
|
|||||||
'~pdesc': function(event) {
|
'~pdesc': function(event) {
|
||||||
var name = event.input[1];
|
var name = event.input[1];
|
||||||
if(polls.hasOwnProperty(name)) {
|
if(polls.hasOwnProperty(name)) {
|
||||||
event.reply(name + ': ' + polls[name].description + ' - http://nc.no.de:443/polls/' + name);
|
event.reply(name + ': ' + polls[name].description + ' - http://nourishedcloud.com:8080/polls/' + name);
|
||||||
} else {
|
} else {
|
||||||
event.reply(dbot.t('poll_unexistent', {'name': name}));
|
event.reply(dbot.t('poll_unexistent', {'name': name}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user