Words!
This commit is contained in:
2
app.js
2
app.js
@@ -351,7 +351,7 @@ wss.on('connection', function (ws, ureq) {
|
||||
request({
|
||||
url: obj.interceptor.discord.webhook,
|
||||
method: "POST",
|
||||
json: {"username": un, "avatar_url": req.metadata.avatarUrl, "content": req.metadata.message.replace(/[\/\\#,+()$~%.'":*?<>@]/g,'_')}
|
||||
json: {"username": un, "avatar_url": req.metadata.avatarUrl, "content": req.metadata.message.replace(/[\/\\#<>@]/g,'_')}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user