forked from GitHub/dbot
oops
This commit is contained in:
parent
4895c12b6d
commit
aba5ac4fa5
@ -72,11 +72,11 @@ var radio = function(dbot) {
|
|||||||
|
|
||||||
'~nowplaying': function(event) {
|
'~nowplaying': function(event) {
|
||||||
if(this.listening) {
|
if(this.listening) {
|
||||||
event.reply(dbot.say(a.server, a.name, dbot.t('now_playing', {
|
event.reply(dbot.t('now_playing', {
|
||||||
'name': this.data['icy-name'],
|
'name': this.data['icy-name'],
|
||||||
'song': this.title,
|
'song': this.title,
|
||||||
'url': this.data['icy-url']
|
'url': this.data['icy-url']
|
||||||
})));
|
}));
|
||||||
} else {
|
} else {
|
||||||
event.reply('Radio not playing.');
|
event.reply('Radio not playing.');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user