tele-bot-api
Advanced tools
Comparing version 0.0.9 to 0.1.0
@@ -29,3 +29,3 @@ /* | ||
constructor(token, options) { | ||
option.bot_path = options.bot_path?options.bot_path:"/" | ||
options.bot_path = options.bot_path?options.bot_path:"/" | ||
options.port = options.port?options.port : config.PORT || 8080 || 3000 || 6000 || 9000 | ||
@@ -114,4 +114,4 @@ options.tdlib = options.tdlib?true:false | ||
start() { | ||
app.listen(Number(this.options.port || this.option_default.port)) | ||
console.log(`bot on http://localhost:${this.options.port || this.option_default.port}${this.options.bot_path || this.option_default.bot_path}`) | ||
app.listen(Number(this.options.port)) | ||
console.log(`bot on http://localhost:${this.options.port}${this.options.bot_path}`) | ||
} | ||
@@ -118,0 +118,0 @@ |
{ | ||
"name": "tele-bot-api", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"description": "library to make bot telegram auto update latest bot api version telegram", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27236