mirror of
https://github.com/status-im/gitter-bridge.git
synced 2025-02-18 03:16:30 +00:00
16 lines
437 B
JavaScript
16 lines
437 B
JavaScript
module.exports = {
|
|
'gitter': {
|
|
'token': process.env.GITTER_TOKEN,
|
|
"room": "status-im/gitter-bridge",
|
|
},
|
|
'status': {
|
|
"provider": "ws://localhost:8546",
|
|
"privateKey": process.env.STATUS_PRIVKEY,
|
|
"room": "#gitter-bridge",
|
|
"replace": (username, msg) => {
|
|
if(username !== "embarkbot_gitlab") return msg;
|
|
return msg.replace(/^\*embarkbot_gitlab@gitter\* (.+?@discord) (.*)$/, "*$1* $2")
|
|
}
|
|
}
|
|
}
|