forked from GitHub/dbot
include - in #hashtag
This commit is contained in:
parent
776bd6d7d6
commit
ba393020b2
@ -32,7 +32,7 @@ var report = function(dbot) {
|
|||||||
channel + "\u000f";
|
channel + "\u000f";
|
||||||
}
|
}
|
||||||
|
|
||||||
message = message.replace(/(#\w+)/g, '\u000312$1\u000f');
|
message = message.replace(/(#[\w\-]+)/g, '\u000312$1\u000f');
|
||||||
|
|
||||||
_.each(message.match(/ @([\d\w*|-]+)/g), function(u) {
|
_.each(message.match(/ @([\d\w*|-]+)/g), function(u) {
|
||||||
u = u.substr(1);
|
u = u.substr(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user