...
 
Commits (2)
{
"name": "fxabot",
"version": "0.3.1",
"version": "0.3.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -396,7 +396,7 @@
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
},
"cookie": {
"version": "0.3.1",
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz",
"integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s="
},
......@@ -1346,7 +1346,7 @@
}
},
"levn": {
"version": "0.3.1",
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
"integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
"dev": true,
......@@ -1371,7 +1371,7 @@
"integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
},
"media-typer": {
"version": "0.3.1",
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
},
......
{
"name": "fxabot",
"version": "0.3.1",
"version": "0.3.2",
"private": true,
"description": "Downtrodden dogsbody for the Firefox Accounts team.",
"keywords": [
......
......@@ -31,7 +31,10 @@ const ACTIONS = new Set([
const EVENTS_URI = 'https://api.github.com/repos/mozilla/fxa/events'
module.exports = robot => {
poll()
if (robot.adapterName === 'irc') {
// The redis brain doesn't work in Slack, making this script too spammy there
poll()
}
async function poll () {
let pollInterval = POLL_INTERVAL || 60000
......