mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
Merge branch 'betterusers' of https://github.com/reality/depressionbot into betterusers
This commit is contained in:
commit
6895ad66f6
@ -32,7 +32,7 @@ var radio = function(dbot) {
|
||||
|
||||
stream.on('metadata', function(metadata) {
|
||||
var title = icecast.parseMetadata(metadata).StreamTitle;
|
||||
if(!_.isUndefined(title)) { // sowwy jesus
|
||||
if(!_.isUndefined(title) && this.data['icy-name']) { // sowwy jesus
|
||||
_.each(this.config.announce, function(a) {
|
||||
dbot.say(a.server, a.name, dbot.t('now_playing', {
|
||||
'name': this.data['icy-name'],
|
||||
|
Loading…
Reference in New Issue
Block a user