mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 20:22:39 +01:00
oops
This commit is contained in:
parent
4895c12b6d
commit
aba5ac4fa5
@ -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.');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user