This commit is contained in:
Lukian LEIZOUR 2022-11-19 15:10:55 +01:00
parent e2976a4654
commit cb0312b437
7 changed files with 78 additions and 4 deletions

4
app.js
View file

@ -78,9 +78,5 @@ bot.command('suggest', ctx => {
console.log('--> sent suggestion message to the channel')
})
bot.on('photo', ctx => {
console.log(ctx)
})
//bot launch
bot.launch();

10
node_modules/.package-lock.json generated vendored
View file

@ -247,6 +247,11 @@
"node": ">= 6"
}
},
"node_modules/fs": {
"version": "0.0.1-security",
"resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
"integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w=="
},
"node_modules/googlethis": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/googlethis/-/googlethis-1.6.0.tgz",
@ -282,6 +287,11 @@
"entities": "^2.0.0"
}
},
"node_modules/https": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/https/-/https-1.0.0.tgz",
"integrity": "sha512-4EC57ddXrkaF0x83Oj8sM6SLQHAWXw90Skqu2M4AEWENZ3F02dFJE/GARA8igO79tcgYqGrD7ae4f5L3um2lgg=="
},
"node_modules/mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",

9
node_modules/fs/README.md generated vendored Normal file
View file

@ -0,0 +1,9 @@
# Security holding package
This package name is not currently in use, but was formerly occupied
by another package. To avoid malicious use, npm is hanging on to the
package name, but loosely, and we'll probably give it to you if you
want it.
You may adopt this package by contacting support@npmjs.com and
requesting the name.

20
node_modules/fs/package.json generated vendored Normal file
View file

@ -0,0 +1,20 @@
{
"name": "fs",
"version": "0.0.1-security",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/npm/security-holder.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/npm/security-holder/issues"
},
"homepage": "https://github.com/npm/security-holder#readme"
}

15
node_modules/https/package.json generated vendored Normal file
View file

@ -0,0 +1,15 @@
{
"name": "https",
"version": "1.0.0",
"description": "https mediation",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"https",
"mediation"
],
"author": "hardus van der berg <hardus@sunfork.com> (http://www.sunfork.com)",
"license": "ISC"
}

22
package-lock.json generated
View file

@ -9,7 +9,9 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"fs": "^0.0.1-security",
"googlethis": "^1.6.0",
"https": "^1.0.0",
"telegraf": "^4.10.0"
}
},
@ -256,6 +258,11 @@
"node": ">= 6"
}
},
"node_modules/fs": {
"version": "0.0.1-security",
"resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
"integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w=="
},
"node_modules/googlethis": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/googlethis/-/googlethis-1.6.0.tgz",
@ -291,6 +298,11 @@
"entities": "^2.0.0"
}
},
"node_modules/https": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/https/-/https-1.0.0.tgz",
"integrity": "sha512-4EC57ddXrkaF0x83Oj8sM6SLQHAWXw90Skqu2M4AEWENZ3F02dFJE/GARA8igO79tcgYqGrD7ae4f5L3um2lgg=="
},
"node_modules/mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
@ -614,6 +626,11 @@
"mime-types": "^2.1.12"
}
},
"fs": {
"version": "0.0.1-security",
"resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
"integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w=="
},
"googlethis": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/googlethis/-/googlethis-1.6.0.tgz",
@ -636,6 +653,11 @@
"entities": "^2.0.0"
}
},
"https": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/https/-/https-1.0.0.tgz",
"integrity": "sha512-4EC57ddXrkaF0x83Oj8sM6SLQHAWXw90Skqu2M4AEWENZ3F02dFJE/GARA8igO79tcgYqGrD7ae4f5L3um2lgg=="
},
"mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",

View file

@ -9,7 +9,9 @@
"author": "",
"license": "ISC",
"dependencies": {
"fs": "^0.0.1-security",
"googlethis": "^1.6.0",
"https": "^1.0.0",
"telegraf": "^4.10.0"
}
}