Commit 439f7d753e861e7988c2e40c809b8ae58e2bcd21

Authored by Adhidarma Hadiwinoto
1 parent 24c1272a4f
Exists in master

config.sample.json

Showing 2 changed files with 21 additions and 1 deletions Side-by-side Diff

... ... @@ -0,0 +1,19 @@
  1 +{
  2 + "origin": "TELEGRAM0",
  3 + "core_url": "http://localhost:32972/apikey/PLEASE_CHANGE_ME",
  4 + "listen_port": 14232,
  5 + "commands": {
  6 + "balance": ["S", "SAL", "SALDO", "BAL", "BALANCE", "CEKSALDO"],
  7 + "price": ["H", "HP", "CH", "HARGA", "CEKHARGA", "PRICE"],
  8 + "postpaid_inquiry": ["INQUIRY", "INQ", "CEKTAGIHAN"],
  9 + "postpaid_pay": ["PAYMENT", "PAY", "BAYAR", "BAYARTAGIHAN"]
  10 + },
  11 + "transport": {
  12 + "token": "PLEASE_CHANGE_ME",
  13 + "username_suffix": "@telegram.org"
  14 + },
  15 + "control_panel": {
  16 + "listen_port": 14233,
  17 + "url": "http://localhost:14233/"
  18 + }
  19 +}
... ... @@ -4,7 +4,8 @@
4 4 "description": "Komodo Center using Telegram transport",
5 5 "main": "index.js",
6 6 "scripts": {
7   - "test": "mocha"
  7 + "test": "mocha",
  8 + "postversion": "git push && git push --tags"
8 9 },
9 10 "repository": {
10 11 "type": "git",