forked from GitHub/dbot
colour tags
This commit is contained in:
parent
46231c9e56
commit
fc345f4ebc
@ -139,6 +139,9 @@ var report = function(dbot) {
|
|||||||
cChan = colours['channels'][channelName] +
|
cChan = colours['channels'][channelName] +
|
||||||
cChan + "\u000f";
|
cChan + "\u000f";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message = message.replace(/ @([\d\w\s*|-]+?) /, colours['nicks'] +
|
||||||
|
"@$1\u000f");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.api.notify(event.server, channelName, dbot.t('notify', {
|
this.api.notify(event.server, channelName, dbot.t('notify', {
|
||||||
|
Loading…
Reference in New Issue
Block a user