Compare commits

..

No commits in common. "35c8e684286d8f657ad8bcc936c5ec8ddfb10565" and "f020df5709b5b5f12690726690a67135ffb63485" have entirely different histories.

3 changed files with 4 additions and 11 deletions

View File

@ -1,11 +1,5 @@
const fs = require('fs'); const startCompCalled = "start comp called";
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)) { 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"); logger.info("ID - " + msg.from.id + " First Name - " + msg.from.first_name + " Asked who is an admin");
test = msg.text.match(/\b(\w+)$/gm); test = msg.text.match(/\b(\w+)$/gm);
@ -69,5 +63,5 @@ module.exports = {
} }
} }
} }),
}

View File

@ -1,4 +1,3 @@
const fs = require('fs');
const utils = require('../../lib/utils'); const utils = require('../../lib/utils');
const admins = JSON.parse(process.env.ADMIN_ID) const admins = JSON.parse(process.env.ADMIN_ID)
const questions = require('../../lib/questions') const questions = require('../../lib/questions')

View File

@ -9,7 +9,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://kithub.k-world.me.uk/TelegramBots/BobbyIPTV_Suzie.git" "url": "http://kithub.cf/TelegramBots/BobbyIPTV_Suzie.git"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",