fix missing imports
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 56s
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 56s
This commit is contained in:
parent
97bebfa773
commit
35c8e68428
@ -1,4 +1,10 @@
|
||||
|
||||
const fs = require('fs');
|
||||
|
||||
module.exports = {
|
||||
competition: (bot, msg, logger) => {
|
||||
const admins = JSON.parse(process.env.ADMIN_ID)
|
||||
|
||||
const startCompCalled = "start comp called";
|
||||
if (msg.text && msg.text.toString().toLowerCase().includes(startCompCalled)) {
|
||||
logger.info("ID - " + msg.from.id + " First Name - " + msg.from.first_name + " Asked who is an admin");
|
||||
@ -63,5 +69,5 @@
|
||||
}
|
||||
}
|
||||
|
||||
}),
|
||||
|
||||
}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
const fs = require('fs');
|
||||
const utils = require('../../lib/utils');
|
||||
const admins = JSON.parse(process.env.ADMIN_ID)
|
||||
const questions = require('../../lib/questions')
|
||||
|
Loading…
x
Reference in New Issue
Block a user