New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

template-bot

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

template-bot - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

14

package.json
{
"name": "template-bot",
"version": "1.1.0",
"version": "1.2.0",
"description": "Scaffolding out a Telegram bot",

@@ -9,3 +9,3 @@ "author": "Vitaly Domnikov <oss@gvitaly.codes>",

"repository": {
"url": "git+ssh://git@github.com/telegraf/template-bot",
"url": "git+ssh://git@github.com/telegraf/template-bot.git",
"type": "git"

@@ -26,9 +26,9 @@ },

"camelcase": "^5.0.0",
"superb": "^3.0.0"
"superb": "^4.0.0"
},
"devDependencies": {
"eslint": "^5.9.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint": "^6.7.1",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.0.1",

@@ -35,0 +35,0 @@ "eslint-plugin-standard": "^4.0.0"

# template-bot
🚀 Kick-start a Telegram bot with `micro-bot`
🚀 Kick-start a Telegram bot with `Telegraf`

@@ -9,3 +9,3 @@ Based on [template-micro-service](https://github.com/tiaanduplessis/template-micro-service).

- Build with [micro-bot](https://github.com/telegraf/micro-bot)
- Build with [telegraf](https://github.com/telegraf/telegraf)
- Lint with [standard](https://github.com/feross/standard)

@@ -12,0 +12,0 @@ - README with instant [now](https://zeit.co/now) deployment buttons

@@ -1,6 +0,6 @@

const { Composer, log, session } = require('micro-bot')
const Composer = require('telegraf/composer')
const session = require('telegraf/session')
const bot = new Composer()
bot.use(log())
bot.use(session())

@@ -7,0 +7,0 @@

@@ -11,5 +11,5 @@ {

"scripts": {
"dev": "supervisor -x micro-bot index.js",
"start": "micro-bot",
"now-start": "micro-bot -d ${NOW_URL}",
"dev": "supervisor -x telegraf index.js",
"start": "telegraf",
"now-start": "telegraf -d ${NOW_URL}",
"lint": "eslint .",

@@ -24,9 +24,9 @@ "test": "npm run lint"

"dependencies": {
"micro-bot": "^2.5.1"
"telegraf": "^3.34.0"
},
"devDependencies": {
"eslint": "^5.9.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint": "^6.7.1",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.0.1",

@@ -33,0 +33,0 @@ "eslint-plugin-standard": "^4.0.0",

<% const camelcasedName = this.camelcase(name) -%>
<% const normalUserName = username.toLowerCase() -%>
# <%= name %>
[![Build Status](https://travis-ci.org/<%= normalUserName %>/<%= name %>.svg?branch=master)](https://travis-ci.org/<%= normalUserName %>/<%= name %>)
# <%= name %>
[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/<%= normalUserName %>/<%= name %>)
## Usage

@@ -20,14 +18,1 @@

```
## Deployment
This bot can be deployed to [now](https://zeit.co/now) by Zeit.
Assuming you've got `now` installed and set up:
```sh
$ now -e BOT_TOKEN='123:......' <%= normalUserName %>/<%= name %>
```
Alternative, deploy right now without even leaving the browser:
[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/<%= normalUserName %>/<%= name %>)

Sorry, the diff of this file is not supported yet

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