Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tele-bot-api

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tele-bot-api - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

6

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc