About
TeleScript is a library inspired by discord.js that allows you to easly create Telegram bots.
Quick Example
import { Client } from 'telescript'
const client = new Client()
client.on('messageCreate', async (message) => {
if(message.text === '/ping') {
await message.reply('Pong!')
}
})
client.login(process.env.TOKEN)
client.startPolling()