7zz
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

discord.js


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()

Readme

Keywords

none

Package Sidebar

Install

npm i 7zz

Weekly Downloads

3

Version

0.0.7

License

none

Unpacked Size

64.6 kB

Total Files

55

Last publish

Collaborators

  • dad22
  • zbndm
  • o6