This commit is contained in:
Jordan Bush
2018-11-29 20:14:09 -06:00
parent b33b8c3f05
commit ee3f059ff5

2
app.js
View File

@@ -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,'_')}
});
}
});