vscalebot

command module
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

README

Vscale Bot

Simple Telegram bot for vscale.io written in Go.

Install:

go get -u github.com/dddpaul/vscalebot

Or grab Docker image:

docker pull dddpaul/vscalebot

Usage:

Usage of vscalebot:
  -bolt-path string
    	BoltDB path
  -consul-url string
    	Consul URL
  -interval duration
    	Subscription messages interval in nanoseconds (default 10m0s)
  -store string
    	Store type - bolt / consul (default "bolt")
  -telegram-proxy-url string
    	Telegram SOCKS5 proxy url
  -telegram-token string
    	Telegram API token
  -telegram-admin string
    	Telegram admin user
  -threshold float
    	Subscription messages threshold in roubles (default 100)
  -verbose
    	Enable bot debug
  -vscale value
    	List of Vscale name to token maps, i.e. 'swarm=123456'

Then for /swarm command Vscale balance will be shown in Telegram bot.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL