mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
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) {
|
||||
notifier += '[' + colours['nicks'] + user[1] + '\u000f]';
|
||||
notifier += '[' + colours['nicks'] + user.replace(/ @/, "") + '\u000f]';
|
||||
});
|
||||
message = message.replace(/ @([\d\w\s*|-]+?)( |$)/g, " " + colours['nicks'] +
|
||||
"@$1\u000f ");
|
||||
|
Loading…
Reference in New Issue
Block a user