Skip to content

artndev/sparkly-bots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Before we head to the manual, first of all, you need to download the latest release from the releases tab and unzip that archive in a folder on your disk.

Secondly, consider that you have already installed Node.js on your machine to work with the package manager npm. If all is fine, we are ready to start!

  1. Inspect .env to change the environmental variables. Do not forget to paste all data inside quotation marks!
# These variables can be obtained at https://my.telegram.org
MTPROTO_SERVER_IP="..."
MTPROTO_SERVER_PORT="..."
# The number of server that you have selected
MTPROTO_SERVER_NUMBER="..."

# The same as above
APP_API_ID="..."
APP_API_HASH="..."

# You can create a telegram bot via @BotFather (https://t.me/BotFather)
BOT_TOKEN="..."

# Logging channel. If you want to disable logging to telegram, just write -100
CHAT_ID="..."

# Debounces set in ms (write the amount of ms without 'ms' word)
AUDIT_DELAY="..."
SEND_DELAY="..."

Optionally, you can deploy the bot to VPS if you want it to work independently and skip all the steps ahead.

  1. Install all dependencies
$ cd your-installing-root
$ npm i
  1. Start the Geefty bot
$ npm run start

Tech Stack

   

   


Made with ❤️ by @artndev