final-surge-bot

command module
v0.0.0-...-e2133d7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Unlicense Imports: 10 Imported by: 0

README

Final Surge Bot

Telegram bot to communicate with Final Surge platform.

Telegram Bot Screenshot

Live

Render

Development

Local

Start PostgreSQL:

docker run --rm --name pgtest -e POSTGRES_HOST_AUTH_METHOD=trust -p 5432:5432 postgres

Set environment:

PUBLIC_URL=https://final-surge-bot.herokuapp.com/;BOT_API_KEY=<BOT_API_KEY>;PORT=8080;DATABASE_URL=postgresql://postgres:@localhost:5432/postgres

Delete webhook:

curl https://api.telegram.org/bot<BOT_API_KEY>/deleteWebhook

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
bot
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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