forked from GitHub/dbot
fuck youuuuuuu
This commit is contained in:
parent
f3e18f63bb
commit
7bbea38454
@ -141,7 +141,7 @@ var report = function(dbot) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_.each(message.match(/ @([\d\w\s*|-]+?)( |$)/g), function(user) {
|
_.each(message.match(/ @([\d\w\s*|-]+?)( |$)/g), function(user) {
|
||||||
notifier += '[' + colours['nicks'] + user[1] + '\u000f]';
|
notifier += '[' + colours['nicks'] + user.replace(/ @/, "") + '\u000f]';
|
||||||
});
|
});
|
||||||
message = message.replace(/ @([\d\w\s*|-]+?)( |$)/g, " " + colours['nicks'] +
|
message = message.replace(/ @([\d\w\s*|-]+?)( |$)/g, " " + colours['nicks'] +
|
||||||
"@$1\u000f ");
|
"@$1\u000f ");
|
||||||
|
Loading…
Reference in New Issue
Block a user