Compare commits

...

2 Commits

Author SHA1 Message Date
35c8e68428 fix missing imports
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 56s
2025-09-23 19:08:13 +01:00
97bebfa773 update url
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 21s
2025-07-30 11:03:29 +01:00
3 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,11 @@
const startCompCalled = "start comp called";
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");
test = msg.text.match(/\b(\w+)$/gm);
@ -63,5 +69,5 @@
}
}
}),
}
}

View File

@ -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')

View File

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