I think you want to replace both functions with an object:

```javascript
{
  factoid: matchData[0],
  target: matchData[1]
}
```

Then just access it inside `bot.js`