Created new module for alerts

This commit is contained in:
JayWll 2020-04-25 14:12:55 -06:00
parent c462f805be
commit 169c242e35

9
nodeapp/src/alert.js Normal file
View File

@ -0,0 +1,9 @@
const path = require('path')
const twit = require('twit')
require('dotenv').config({path: path.join(__dirname, '../../.env')})
const alert = (type) => {
console.log('Alert triggered for type: ' + type)
}
module.exports = alert