Skip to content

sonetlumiere-code/Arbitraging

Repository files navigation

Telegram Bot CLI DB

Get Token

  • Create a bot with BotFather in Telegram
/newbot

Get chat id

  • Go to URL:
`https://api.telegram.org/bot${TOKEN}/getUpdates`

Using Ngrok (optional):

Share port

  • Ngrok terminal:
ngrok http 4000	 # (app PORT=4000)

Stop sharing port

  • Windows terminal
taskkill /f /im ngrok.exe

.env example:

NTBA_FIX_319=1
TELEGRAM_BOT_TOKEN="00000:xxxxx"
CHAT_ID="xxxxx"
CHAT_ID_GROUP=-xxxxx
MONGODB_URI="mongodb://localhost:27017/arbitrage-bot-cli"
SETTINGS_ID="xxxxx"

Update SETTINGS_ID with the generated Settings MongoDB Document id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published