Hi, tgsnake is a framework developed based on gram.js
WARNING!
Maybe your account will be banned if you login using this framework. I don't know what caused it to happen. I am not responsible if your account is banned!
Example :
yarn add tgsnake@latest
const {Snake} = require("tgsnake")
const bot = new Snake({
apiHash : "abcde",
apiId : 123456,
logger:"none"
})
bot.run()
bot.on("message",(ctx)=>{
ctx.reply("Hello World")
})
More example you can found in example folder or in website.
Contribution
Welcome, You can contribute to this project.
Guide
- Fork this repo to your account.
- Clone your fork repo using git.
git clone <your github repo url> -b "dev"
Cloning branch dev in your repo.
- Edit and make something.
- Pull new update from branch
dev
original repo (this repo). - Push update to your branch
dev
in fork repo. - Create pull request to branch
dev
original repo from branch dev
frok repo.
Reference
Thanks to all the frameworks and references that I use, several people who helped in developing this framework that I cannot mention one by one.
Build with ♥️ by tgsnake dev.