3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00
This commit is contained in:
reality 2015-05-06 18:20:25 +00:00
parent 4895c12b6d
commit aba5ac4fa5

View File

@ -72,11 +72,11 @@ var radio = function(dbot) {
'~nowplaying': function(event) {
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'],
'song': this.title,
'url': this.data['icy-url']
})));
}));
} else {
event.reply('Radio not playing.');
}