Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.44 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.44 KB

Telesnake

PyPI version info PyPI supported Python versions Commit activity

Telegram API Wrapper: modern, similar to Discord libraries

Features

  • Quick response
  • Simplicity
  • And more...

Installing

Python 3.8 or higher is required.

To install the library, you need to enter these commands into the console

# Linux/MacOS
python3 -m pip install -U Telesnake

# Windows
py -3 -m pip install -U Telesnake

Quick Example

Echo bot

from telesnake import Bot, Context
import os

bot = Bot(os.getenv("TOKEN"))

@bot.event
async def on_message(ctx: Context):
    await ctx.send(ctx.message.content)

bot.run()

You can find more examples in the examples directory


My WebsiteGithub IssuesTelegram API