butthx / dots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirements

  • nodejs@16 or latest
  • yarn@1 or latest Recommend to install yarn berry version
npm i -g yarn

Env

  • SESSION - tgsnake string session, get it from https://tgsnake.js.org/login don't forget to login as bot.
  • BOT_TOKEN - Your bot token, get it from botFather.
  • API_HASH - Your api hash, get it from my.telegram.org
  • API_ID - Your api id, get it from my.telegram.org
  • MONGODB_URI - Your mongodbURI.
  • PREFIX_CMD - the prefix command default is dots

Local Deploy

$ git clone https://github.com/butthx/dots 
$ cd dots 
$ yarn install 

create .env file and fill the env value

$ yarn build 
$ yarn start

Cloud Deploy

Deploy on Railway

Deploy

About

License:MIT License


Languages

Language:TypeScript 98.6%Language:JavaScript 1.0%Language:Dockerfile 0.3%Language:Procfile 0.0%